Had some trouble doing the normal composer install so I went with the manual install noted here https://github.com/drush-ops/drush Basically I downloaded and unzipped the repo to /usr/local/sbin. Then I did a symlink to /usr/bin cd /usr/bin sudo ln -s /usr/local/sbin/drush/drush . Then in /usr/local/sbin/drush I ran sudo composer install
The angularjs module for drupal will direct you to setup a menu path for Angular.js to get it’s template files. So the Angular route would look like this //app.js behat_reports.config(['$routeProvider', function ($routeProvider) { $routeProvider. when('/', { templateUrl: '/behat_editor_reports_service_v2/tpl/behat_editor_reports_service_reports_tpl', controller: 'ReportsAll' }). otherwise({ redirectTo: '/' }); }]); What I am suggesting is that when bootstraping Angular is to set the path to the “html” template folder. Then your Angular app route can look like this
Using composer and drupal, even d7, is great. But an update or install can leave you with a broken drupal registry. So here is a workflow that is pretty bullet proof. In this example drupal’s composer folder where composer.json lives is located in /var/www/drupal/sites/default/files/composer So in there is composer.json and composer.lock So when you need to install a new composer library and you updated your json file you can run