Fixing bug where AngularJS was unable to find the gritter functions and properties.