What I understand is: the two things you mentioned seem to have nothing to do with Angularjs. The controller can also operate the dom, but it is not recommended. Angularjs doesn't do anything to enforce it. For prototypal inheritance, it can be used or not. The main thing is to standardize the code style.
What I understand is: the two things you mentioned seem to have nothing to do with Angularjs.
The controller can also operate the dom, but it is not recommended. Angularjs doesn't do anything to enforce it.
For prototypal inheritance, it can be used or not. The main thing is to standardize the code style.