This application is example of how you can write your angular applications using NG6-starter as your starting point. Currently this example provides you:
- Example of small-sized application
- UI components examples
- Service example which includes unit tests
- Unit tests for controllers of UI components
But there is still some things that should be done:
- Improve test coverage
- Provide example of E2E testing
If you have some other ideas of how improve this example, or you have questions, please welcome to our issue tracker.
Official AngularJS website is good place to start, but it lacks of best practices and not provides you base concepts, which could simplify your life. There is some links that can help you better understand how to write maintainable applications using AngularJS.
- Angular Styleguide - This is basically angular best practices. There are some differences for ES2015 but the explanation of these practices remains the same.
- Optionated Angular Styleguide - this is an extended version of angular styleguide, which covers additional information relevant to dev teams.
- Code Organization in Large AngularJS and JavaScript Applications - This article explains a directory structure, proposed in angular styleguide with more details and use cases.
- The Top 5 Mistakes AngularJS Developers Make - This is a great series of posts describing in depth the common mistakes and how to not make them.
- AngularJS: The Bad Parts - To not fall into a trap, developers always should know the problems of tools they are using. With this knowledge in mind, you will write more maintainable applications.
- You don't always need AngularJS DI in directives - This article will help you to make more reusable UI components.
- Exploring the Angular 1.5
.component()
method - A Guide To Transclusion in AngularJS
If you have any others helpful links to share, or find any of the links above no longer work, please let us know.
The app uses Karma to run the tests, which you can find near the test target (*.spec.js
files).