Skip to main content
added 259 characters in body
Source Link
Wouter
  • 181
  • 5

In general I think it is good to keep the seperationseparation of concerns in mind. Don't hesitate to create new views and new controllers. If you correctly define the responsibility of each controller, in the end your code is much easier to maintain.

In your specific case, if you haven't already, have a look at directives in AngularJS. They are pretty well explained in this course provided by Google.

In general I think it is good to keep the seperation of concerns in mind. Don't hesitate to create new views and new controllers. If you correctly define the responsibility of each controller, in the end your code is much easier to maintain.

In general I think it is good to keep the separation of concerns in mind. Don't hesitate to create new views and new controllers. If you correctly define the responsibility of each controller, in the end your code is much easier to maintain.

In your specific case, if you haven't already, have a look at directives in AngularJS. They are pretty well explained in this course provided by Google.

Source Link
Wouter
  • 181
  • 5

In general I think it is good to keep the seperation of concerns in mind. Don't hesitate to create new views and new controllers. If you correctly define the responsibility of each controller, in the end your code is much easier to maintain.