Migration from AngularJS1.2 to 1.3.x

I have an ionic application with:

  • bower
  • gulp
  • ngCordova

First of all I want to update Ionic Framework to 1.0.0 in order to do it, I have following statement in my gulpfile.js ““ionic”: “driftyco/ionic-bower#v1.0.0”,” after that (I understand that inside the Ionic there is also AngularJS) so the AngularJS was also upgraded but after that I have following error:

Error: [$injector:unpr] Unknown provider: $$cookieReaderProvider <- $$cookieReader <- $cookies <- LoginService <- NavigationHelper <- $cookies
http://errors.angularjs.org/1.3.13/$injector/unpr?p0=%24%24cookieReaderProv…ookies%20<-%20LoginService%20<-%20NavigationHelper%20<-%20%24cookies
at REGEX_STRING_REGEXP (build.libs.js:8890)
at build.libs.js:12824
at Object.getService [as get] (build.libs.js:12971)
at build.libs.js:12829
at getService (build.libs.js:12971)
at Object.invoke (build.libs.js:13003)
at build.libs.js:12830
at getService (build.libs.js:12971)
at Object.invoke (build.libs.js:13003)
at Object.enforcedReturnValue [as $get] (build.libs.js:12865)

what should I do ? I know that in the AngularJS1.2 all packages was in the one file, in the 1.3 they are splitted. I have quite a big application in Ionic but unfortunetelly I have no idea what to do and why eg. there is bower and gulp in the project. Thanks for your help !