skeleton xplatform app with angularjs