{"id":18878027,"url":"https://github.com/sinsunsan/angular_mixy","last_synced_at":"2026-05-18T19:05:41.637Z","repository":{"id":57178759,"uuid":"41389663","full_name":"sinsunsan/angular_mixy","owner":"sinsunsan","description":"Forms fields  jade mixins working with angular and compiled from yaml files","archived":false,"fork":false,"pushed_at":"2018-06-14T22:02:11.000Z","size":314,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-27T09:35:50.683Z","etag":null,"topics":["angular","jade-mixins","yaml","yaml-files"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinsunsan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-25T21:50:12.000Z","updated_at":"2016-11-07T10:23:04.000Z","dependencies_parsed_at":"2022-08-30T16:02:16.168Z","dependency_job_id":null,"html_url":"https://github.com/sinsunsan/angular_mixy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinsunsan%2Fangular_mixy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinsunsan%2Fangular_mixy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinsunsan%2Fangular_mixy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinsunsan%2Fangular_mixy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinsunsan","download_url":"https://codeload.github.com/sinsunsan/angular_mixy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239840896,"owners_count":19705972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","jade-mixins","yaml","yaml-files"],"created_at":"2024-11-08T06:23:42.141Z","updated_at":"2025-10-05T19:06:24.583Z","avatar_url":"https://github.com/sinsunsan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Mixy : A collection of jade mixins to setup angular forms more quickly\n\nAngular mixy is a collection of jade mixins to set up forms with Angular and Jade and Yaml\n- set up forms form a yaml file that define the field content \n- fields definition can be inherited from other fields \n- fields are compiled with jade\n\n\n# Main parts \n\n* [A library of jade forms mixins](https://github.com/sinsunsan/angular_mixy/tree/master/app/jade/_global_ui/mixins/form)\n* [Example YAML files](https://github.com/sinsunsan/angular_mixy/tree/master/app/data/yaml)\n\n\n# angular-mixy-start\n\n### Dependencies\n\nLodash and merge-default are required libraries\n\"merge-defaults\": \"^0.2.1\"\n\n\n### Include the main jade lib \n\nIn you jade main file include the lib main file\n```\ninclude angular_mixy/dist/_global_ui.jade\n```\n\n### Configure your grunt file \n\nExample of jade section of the file\n\nLoad the main concatanated json file\n```\ngData: grunt.file.readJSON('app/data/hola.json'),\n```\n\nLoad lodash to be used in the templates\n```\n_: _, // Make lodash available in jade templates\n```\n\nLoad utility function (Change the path to match your installation)\n```\nutil: require('./angular_mixy/dist/jade/js/formFn.js')\n```\n\n```\njade: {\n  app: {\n      expand: false,\n      src: ['\u003c%= yeoman.app %\u003e/jade/index.jade'],\n      dest: '\u003c%= yeoman.app %\u003e/index.html',\n      ext: '.html'\n  },\n  options: {\n    doctype: 'html',\n    client: false,\n    pretty: true, // Output HTML in indented style\n    data: function(dest, src) {\n      return {\n        gData: grunt.file.readJSON('app/data/hola.json'),\n        _: _, // Make lodash available in jade templates\n        util: require('./app/jade/_global_ui/js/formFn.js') // load utility function for global_ui libs\n      };\n    }\n  },\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinsunsan%2Fangular_mixy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinsunsan%2Fangular_mixy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinsunsan%2Fangular_mixy/lists"}