AngularJS-huge I’ve heard a lot about AngularJS and decided to learn it along with my brushing up on the JavaScript basics.

Angular’s website says that it is “what HTML would have been, had it been designed for applications.” It supposedly helps build one-page web applications or single page applications (SPA’s) much better than most other JavaScript libraries and/or frameworks. It was built with the CRUD (create, Read, Update, Delete) application in mind.

Again, I want to keep my notes here on my blog because it 1) always helps to solidify the knowledge in my head, 2) will help me find things in the future, and 3) might help someone else.

It’s easy to get started. Just download the very small angular.js file and add it to your HTML file the way you would any other JavaScript file. Add ng-app to the opening html tag and then have angular bind something by using the double curly braces ({{ "angular code" }}), often called ‘mustaches’.

<html ng-app>
    <script type="text/javascript" src="angular.min.js"></script>
    This is the new {{ "Hello World!" }}

It’s just that easy!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top