Ionic lib update as root user

Seems a few things changes from beta 14 to rc1. In the end I had to use this method : How to update the Ionic in the existing project?