2012 was the year of the rise of the Javascript MVC frameworks and librairies with countless of those frameworks that were released or that went under the spotlight. Among others, you must have heard aboutBackbone.js, Ember.js but my personal favorite is AngularJS. AngularJS is a Javascript MVC framework created by Google to build properly architectured and maintenable web applications.

Why AngularJS?

AngularJS is a MVC framework that defines numerous concepts to properly organize your web application. Your application is defined with modules that can depend from one to the others. It enhances HTML by attaching directives to your pages with new attributes or tags and expressions in order to define very powerful templates directly in your HTML. It also encapsulates the behavior of your application in controllers which are instanciated thanks to dependency injection. Thanks to the use of dependency injection, AngularJS helps you structure and test your Javascript code very easily. Finally, utility code can easily be factorized into services that can be injected in your controllers. Now let’s have a closer look at all those features.

Expressions

AngularJS let you build properly structured web applications very easily. For that, AngularJS contains several concepts to separate the different parts of your application.

In order to create the views of your application, AngularJS let you execute expressions directly within your HTML pages. In those expressions, you have access to Javascript code which give you the ability to realize some computation in order to display what you want.

Expressions in your HTML page are nice, but you won’t build a complete web application like that, it would be horrible to write and to maintain, we need the help of something more powerful. Expressions are used for small operations, In order to structure you web application, AngularJS will give you a much impressive tool, directives.

Directives

Directives are one of the most powerful feature of AngularJS. They allow you to extend HTML to answer the needs of web applications. Directives let you specify how your page should be structured for the data available in a given scope. We will have a look at the scope and where those data are coming from later in this post but first let’s have a look at how directives are working.

13 thoughts on “EVERYTHING YOU NEED TO UNDERSTAND TO START WITH ‘ANJULAR JS’

  1. Bill

    Saved as a favorite, I love your website!

  2. Jim

    Everyone loves what you guys tend to be up too. This
    kind of clever work and exposure! Keep up the fantastic works guys I’ve added you guys
    to my personal blogroll. http://bing.net

  3. Really excellent visual appeal on this internet site, I’d
    rate it 10.

  4. Wonderful website you have here but I was curious about if yoou knew of any message boards that cover the same topics talked
    about here? I’d really love tto be a part of community where I can get feedback fom other experienced
    individuals that share thee same interest. If you have
    any recommendations, please let me know. Kudos!

  5. I have been exploring for a little bit for any high quality
    articles or blog posts in this kind of space .
    Exploring in Yahoo I finally stumbled upon this web site.
    Reading this info So i’m satisfied to exhibit that I
    have a very good uncanny feeling I discovered just what I needed.
    I most for sure will make certain to do not put out of your mind this website and
    give it a glance regularly.

  6. I was just seeking this info for a while. After
    6 hours of continuous Googleing, at last I got it in your site.
    I wonder what is the lack of Google strategy that don’t rank this type of informative websites in top of the list.
    Normally the top web sites are full of garbage.

  7. Me han ayudado para tener claro lo que necesito y de
    esta manera poder desarrollar lograr un freelancer que me asista
    a crear la aplicación que ncesito.

  8. Way cool! Some very valid points! I appreciate you writing this
    post and also the rest of the website is really good.

  9. Very great post. I simply stumbled upon your blog and wished to mention that I’ve really loved
    browsing your weblog posts. In any case I’ll be subscribing in your rss feed and I am hoping you write
    once more soon!

    1. Thanks, and I will write soon.

  10. You might be fantastic! Thanks!Nice blog here!
    Also your site loads up fast! What web host
    are you utilizing? Can I get your affiliate link to your host?
    I wish my website loaded up as quickly as yours lol

  11. Hurгah! After all I got a web site from where I be able
    to actually get valuable data regarding my study
    and knowledge.

  12. Reading your website gave me a lot of interesting info , it deserves to go viral, you need some initial traffic
    only. How to get initial traffic?? Search for:
    masitsu’s effective method

Leave a Comment