Extract dependencies of AngularJS application.