text: /**
   * Created by Achintha on 12/29/2015.
   */
  (function () {
      console.log("hit app");
      var app= angular.module("holdMusicApp", ["ngRoute","ngMaterial","ngMessages"]);
      app.config(function($routeProvider){
          $routeProvider
              .when("/main",{
              templateUrl: "partials/main.html",
              controller: "MainController"
              })
              .when("/view",{
                  templateUrl: "view.html",
                  controller: "ViewController"
              })
              .when("/apps",{
                  templateUrl: "partials/reloadApps.html",
                  controller: "ReloadAppsController"
              })
              .when("/edit",{
                  templateUrl:"partials/EditHoldMusic.html",
                  controller: "EditHoldMusicController"
              })
              .when("/new",{
                  templateUrl:"partials/newTrunk.html",
              //templateUrl:"partials/test.html",
                  controller: "NewMusicProfileController"
              })
  
            .when("/delete",{
              templateUrl:"partials/deleteMusicProfile.html",
              //templateUrl:"partials/test.html",
              controller: "DeleteMusicProfileController"
            })
  
              .when("/viewDeactApp",{
                  templateUrl:"partials/viewDeactivatedAppDetails.html",
                  controller: "ViewDeactivatedAppDetailsController"
              })
              .when("/app/:id/edit",{
  
  
              templateUrl:"partials/EditHoldMusic.html",
              controller: "EditAppController"
            })
  
                .otherwise({
                  redirectTo: "/main"
              });
  
      });
  }())
  