forked from muicss/mui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontainer.html
More file actions
37 lines (33 loc) · 989 Bytes
/
container.html
File metadata and controls
37 lines (33 loc) · 989 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!doctype html>
<html ng-app="myApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- for example only -->
<script src="../assets/vendor/angular/1.5.3/angular.js"></script>
<!-- end -->
<link rel="stylesheet" type="text/css" href="../assets/mui/css/mui.css"/>
<script src="../assets/mui/angular/mui-angular.js"></script>
<script>
var myApp = angular.module('myApp', ['mui']);
myApp.controller('ExampleCtrl', function($scope) {
$scope.myVal = 'test';
});
</script>
</head>
<body>
<h1>Container</h1>
<mui-container ng-controller="ExampleCtrl">
{{myVal}}
<mui-panel>
</mui-panel>
</mui-container>
<h1>Fluid Container</h1>
<mui-container ng-controller="ExampleCtrl" fluid>
{{myVal}}
<mui-panel>
</mui-panel>
</mui-container>
</body>
</html>