Jelajahi Sumber

Initialize AngularJS application manually

Danilo Bargen 6 tahun lalu
induk
melakukan
2d608b8316
2 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 1 1
      index.html
  2. 3 0
      src/app.ts

+ 1 - 1
index.html

@@ -19,7 +19,7 @@
     along with Threema Web. If not, see <http://www.gnu.org/licenses/>.
 
 -->
-<html ng-app="3ema" ng-strict-di ng-controller="StatusController as ctrl">
+<html ng-strict-di ng-controller="StatusController as ctrl">
 <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">

+ 3 - 0
src/app.ts

@@ -175,3 +175,6 @@ angular.module('3ema', [
 ])
 
 ;
+
+// Bootstrap application
+angular.bootstrap(document, ['3ema']);