Fix AngularJS for minified version