Include IndivitualCtrl.js to IndivitualCtrl.html

Currently we include all controller js files to index.html.
Do we need to include each files separately into template?

If you ask me why I need to do so, some geek said ‘All the js files are loaded when App loads index.html, which will create performance issue’

My advice, read and learn John Papa style guide: https://github.com/johnpapa/angular-styleguide

1 Like