Add angularJS functionality