View retain with '=' (https://github.com/MrOrz/ui-router/commits/patch-1)

Also make an addition required because of latest animation changes
in ui-router. The `viewLocals` was not getting set to locals in case
`locals` was undefined.