Replaced jQuery by Angular.js