Angular update

Updated angularjs version and fixed issues resulting from breaking changes
@abnanda1 @DamianEdwards