Changed Angular app name to CACMobile. Appears phone gap build inserts cordova.js into the root dir so modified Gruntfile to put the cordova.js there when working locally (web). Chnaged all references of crodova.js to now look in root. Modified gruntfile to make www dir instead of using dist. This version works on IOS and Android being built by PhoneGap Build