Much more like angularjs:)

Changed a lot.