a bit fix
jquery to angularjs