add logic for gulp builds, app/scripts approach not being universal for ...

...angular apps