Skip to content

rameshkrishnan/angular-component-template

Repository files navigation

Angular Component Template

A template to create angularjs 1.x based components.

Requirements

How to Use

  • bower install https://github.com/rameshkrishnan/angular-component-template.git
  •  <script src="bower_components/angular-component-template/dist/index.js"></script>``` - include these tags in your index.html file.
    
  • Module name to include in your angular project : angular-component-template.
  • <angular-component property="Hello world"></angular-component> - use this tag to include component to the page. For more info, refer demo/index.html.

Development

  • npm install - to install the node packages for development.
  • bower install - to install the bower packages for demo application and dependency for test scripts.
  • npm run build - to build the files to dist folder.
  • npm run start - to see the demo of the component.
  • npm run test - to execute the test scripts.

MIT License