Custom implementation some of the angularjs features.