public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.UseCdn = true;

            var angularBundle = new ScriptBundle("~/bundles/angular", AngularCDN).Include("~/lib/angular/angular.min.js");

            angularBundle.CdnFallbackExpression = "window.angular";
            bundles.Add(angularBundle);

            var i18nBundle = new ScriptBundle("~/bundles/angular-i18n").Include("~/lib/angular-i18n/angular-locale_en-gb.js");

            bundles.Add(i18nBundle);

            bundles.RegisterAngularModule("angular-route", "ngRoute", AngularRouteCDN, "~/lib/angular-route/angular-route.min.js");
            bundles.RegisterAngularModule("angular-resource", "ngResource", AngularResourceCDN, "~/lib/angular-resource/angular-resource.min.js");
            bundles.RegisterAngularModule("angular-bootstrap-templates", "ui.bootstrap", AngularBootstrapTemplatesCDN, "~/lib/angular-ui-bootstrap/ui-bootstrap-tpls.js");

            bundles.Add(new ScriptBundle("~/bundles/angular-chart").Include("~/lib/chart.js/Chart.min.js")
                        .Include("~/lib/angular-chart.js/angular-chart.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/site-core")
                        .Include("~/Scripts/ui/app.js")
                        .Include("~/Scripts/ui/controllers.js")
                        .Include("~/Scripts/ui/services.js"));

            var jqueryBundle = new ScriptBundle("~/bundles/jquery", JQueryCDN)
                               .Include("~/lib/jquery/jquery.min.js");

            jqueryBundle.CdnFallbackExpression = "window.jQuery";
            bundles.Add(jqueryBundle);

            var bootstrapBundle = new ScriptBundle("~/bundles/bootstrap", BootstrapCDN)
                                  .Include("~/lib/bootstrap/js/bootstrap.min.js");

            bootstrapBundle.CdnFallbackExpression = "$.fn.modal";
            bundles.Add(bootstrapBundle);

            var styleBundle = new StyleBundle("~/bundles/css").Include("~/Content/theme.css");

            bundles.Add(styleBundle);
        }
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.UseCdn = true;

            var angularBundle = new ScriptBundle("~/bundles/angular", AngularCDN).Include("~/lib/angular/angular.js");
            angularBundle.CdnFallbackExpression = "window.angular";
            bundles.Add(angularBundle);

            var i18nBundle = new ScriptBundle("~/bundles/angular-i18n").Include("~/lib/angular-i18n/angular-locale_en-gb.js");
            bundles.Add(i18nBundle);

            bundles.RegisterAngularModule("angular-route", "ngRoute", AngularRouteCDN, "~/lib/angular-route/angular-route.js");
            bundles.RegisterAngularModule("angular-resource", "ngResource", AngularResourceCDN, "~/lib/angular-resource/angular-resource.js");
            bundles.RegisterAngularModule("angular-bootstrap", "ui.bootstrap", AngularBootstrapCDN, "~/lib/angular-bootstrap/ui-bootstrap.js");
            bundles.RegisterAngularModule("angular-bootstrap-templates", "ui.bootstrap.tpls", AngularBootstrapTemplatesCDN, "~/lib/angular-bootstrap/ui-bootstrap-tpls.js");

            bundles.Add(new ScriptBundle("~/bundles/angular-chart").Include("~/lib/Chart.js/Chart.js")
                .Include("~/lib/angular-chart.js/dist/angular-chart.js"));

            bundles.Add(new ScriptBundle("~/bundles/site-core")
                .Include("~/Scripts/ui/app.js")
                .Include("~/Scripts/ui/controllers.js")
                .Include("~/Scripts/ui/services.js"));

            var jqueryBundle = new ScriptBundle("~/bundles/jquery", JQueryCDN)
                .Include("~/lib/jquery/dist/jquery.js");
            jqueryBundle.CdnFallbackExpression = "window.jQuery";
            bundles.Add(jqueryBundle);

            var bootstrapBundle = new ScriptBundle("~/bundles/bootstrap", BootstrapCDN)
                .Include("~/lib/bootstrap/dist/js/bootstrap.js");
            bootstrapBundle.CdnFallbackExpression = "$.fn.modal";
            bundles.Add(bootstrapBundle);

            var styleBundle = new StyleBundle("~/bundles/css").Include("~/Content/theme.css")
                .Include("~/lib/angular-chart.js/angular-chart.css");
            bundles.Add(styleBundle);
        }