angularjs improvements