fixed some errors with global bower installs and some ng services