added angularjs helper