Using latest `ng-dependencies` and removing unnecessary code