What is Angular js? First steps to learn it
by Team Exabyte
With so many frameworks, it is difficult to choose which one to use in our applications, what advantages they have in front of others, etc. In this post I will comment that makes AngularJS different from the rest and a few links to online resources where to learn to use this framework and catch fluency.
Luckily, there were frameworks that implemented the MVC (Model, View, and Controller) pattern and helped us to separate concepts. The best known is BackboneJS, which came out in 2010 created by Jeremy Ashkenas (Creator also of Coffee Script) and depends on 2 other libraries: jQuery and Underscore.js It is used by multiple Start-ups like Pinterest, Foursquare , AirBnB , Trello , etc.
BackboneJS allows you to create your app quickly but sometimes it is complicated to use. Most developers choose BackboneJS because it seems the safest option, it takes more time between us, there is a lot of documentation about it and it is maintained by a large community.
Here is an example of how the MVC pattern in AngularJS is implemented:
$scope.files = [‘foo’,’bar’, ‘baz’];
<!– View: HTML –>
<div ng-repeat=”f in files”></div>
Which results in:
AngularJS allows you to extend the HTML vocabulary with directives and attributes, maintaining the semantics and without having to use external libraries like jQuery or Underscore.js to make it work.