modified angularjs