ledgerrb/public/app/bower_components/angular-material
Gwenhael Le Moine a0c621ab34 bower update
2014-11-06 16:55:16 +01:00
..
themes bower update 2014-11-06 16:55:16 +01:00
.bower.json bower update 2014-11-06 16:55:16 +01:00
angular-material.css bower update 2014-11-06 16:55:16 +01:00
angular-material.js bower update 2014-11-06 16:55:16 +01:00
angular-material.min.css bower update 2014-11-06 16:55:16 +01:00
angular-material.min.js bower update 2014-11-06 16:55:16 +01:00
bower.json bower update 2014-11-06 16:55:16 +01:00
LICENSE bower update 2014-11-06 16:55:16 +01:00
README.md bower update 2014-11-06 16:55:16 +01:00

bower-material

This repository contains the Bower release of angular-material.

Installing Angular-Material

Please note that using Angular Material requires Angular 1.3.x or higher.

Below is a sample set of commands:

cd yourProjectDir
bower install angular-material --save

Usage

Now that you have installed [locally] the Angular libraries, simply include the scripts and stylesheet in your main HTML file:

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
    <link rel="stylesheet" href="/bower_components/angular-material/angular-material.css">
    <link rel="stylesheet" href="/bower_components/angular-material/themes/default-theme.css">
</head>
	<body ng-app="YourApp">

	<div ng-controller="YourController">

	</div>

	<script src="/bower_components/angular/angular.js"></script>
	<script src="/bower_components/angular-aria/angular-aria.js"></script>
	<script src="/bower_components/angular-animate/angular-animate.js"></script>
	<script src="/bower_components/hammerjs/hammer.js"></script>
	<script src="/bower_components/angular-material/angular-material.js"></script>
	<script>

		// Include app dependency on ngMaterial

		angular.module( 'YourApp', [ 'ngMaterial' ] )
			.controller("YourController", YourController );

	</script>

</body>
</html>