So this is the second huge difference. AngularJS separates the:
- Model = The data structure as well as the data itself (your DB, XML data, JSOn Data, ...)
- View = Output layer (in this case HTML code), the Interface with the User.
- Controller = Message transfer layer between the Model and the View. The business Logic