AngularJS compilation