General bug fixes

Updated ng-resource dependency.

Fixed Angular whitelist bug when updating version.

Some basic work trying to add annotations.