Programming Web Technology

AngularJS minimal MVC example

Recently started to learn AngularJS, which is really a very good framework. It makes routes, Two way data binding and modular design easy.

I have created a minimal MVC example for beginners to get started with. This is a BMI calulator.

You can also try the jsFiddle here.

1 reply on “AngularJS minimal MVC example”

With all respect, but this doesn’t look like MVC to me.You have view and controller in a single file (and controller doesn’t choose the view). And the Model is missing completely, as you do not store any data here.

Share your thoughts