port jquery => angularjs