---
id: 1931
title: AngularJS - What HTML would have been had it been designed for web apps
slug: angularjs-what-html-would-have-been-had-it-been-designed-for-web-apps
date: '2011-11-13T06:45:30Z'
modified: '2011-11-13T06:45:30Z'
status: publish
type: post
author: pmoelgaard
categories:
  - Tools
tags:
  - AngularJS
  - JavaScript
excerpt: null
canonicalPath: /posts/angularjs-what-html-would-have-been-had-it-been-designed-for-web-apps
featuredImage: null
commentCount: 2
wordCount: 330
readingTimeMinutes: 2
hasMedia: true
hasVideos: false
url: >-
  https://forwardthinking.pemo.me/posts/angularjs-what-html-would-have-been-had-it-been-designed-for-web-apps
---
You may say it was love at first sight when I first laid eyes on the clean and simple code of Flex in the form of MXML back in 2005... My long lost love "DataBinding" never really made it fully due to the inherent performance issues with bubbling on a massive scale, however no love is perfect and no love is everlasting... Now that I by the course of faith have been forced to abandon Flex for future projects since my clients are unlikely to consider Spoon Project with the same trust as the did with Adobe. Among some of the candidates for replacing parts of Flex, there is the AngularJS framework which provides a nice MVC structure and some really cool ways to work around the nature of HTML and its shortcomings as a RIA platform... [![](/media/wp/2011/11/screen-shot-2011-11-13-at-2-34-27-pm.png "Screen Shot 2011-11-13 at 2.34.27 PM")](http://angularjs.org/) The last couple of projects I have been involved in, we have used Angular, and with significant success and pleasure. It far from covers the vast scope of the Flex framework, however it does take the concerns of data-spagetti out and allows us to reuse all the databinding mechanisms we have been used to from Flex... Hint: In AngularJS a databinding expression is done by using double {{}} instead of single {} in Flex... that's the biggest difference at this point. The 4 initial notable aspects of Angular JS are...

1.  **Declarative UI Templates** HTML is already a good templating language; angular makes it better. Preview your UI in your favorite HTML editor.
2.  **Two-Way Data Binding** With angular, the view and data model are always in sync — there is no need for manual DOM manipulation.
3.  **Framework** Angular supports the entire development process, provides structure for your web apps, and works with the best JS libraries.
4.  **MVC with Dependency Injection** Separation of concerns, loose coupling, and inversion of control — all the good stuff for testable and maintainable code.

Check it out... [http://angularjs.org/](http://angularjs.org/)
