Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

GUAC-1172: Upgrade to Angular 1.3 #205

Merged
merged 3 commits into from
Jul 3, 2015
Merged

GUAC-1172: Upgrade to Angular 1.3 #205

merged 3 commits into from
Jul 3, 2015

Conversation

mike-jumper
Copy link
Member

This change updates to Angular 1.3.16 - the latest stable version. This also requires updating to the latest angular-translate (2.7.2). Simply updating these two libraries works well, but resulted in two problems that required workarounds:

  1. Within Angular 1.3.x, the parent scope is not properly inherited by directives if ngRepeat is used on the root of a directive using replace: true (Parent scope not inherited within directive using ngRepeat and replace angular/angular.js#12260). I've worked around this by ensuring no directives use ngRepeat on their root.
  2. Angular 1.3.x no longer exposes the current scope to filters, causing problems with messageformat interpolation within angular-translate (messageformat interpolation: variables handling fails with angular 1.3+ angular-translate/angular-translate#788). I've worked around this by using the translate directive (not the filter) wherever messageformat interpolation is used.

…itization strategy. Use null instead of false for lack of login error.
…ng the translate directive (no filter). Current scope is not available to filters as of AngularJS 1.3.
jmuehlner added a commit that referenced this pull request Jul 3, 2015
GUAC-1172: Upgrade to Angular 1.3
@jmuehlner jmuehlner merged commit c8cfbc2 into master Jul 3, 2015
@jmuehlner jmuehlner deleted the angular-1.3 branch July 3, 2015 01:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants