bar.jumbotron

Jumbotron are styled web site header.

Getting started

Quick start

Install bar.jumbotron with Bower.

$ bower install bar.jumbotron --save

Include the required libraries is your index.html:

<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/jumbotron/jumbotron.min.js"></script>
<script src="bower_components/jumbotron/jumbotron.tpl.min.js"></script>

Inject the bar.jumbotron module into your app:

angular.module('myApp', ['mgcrea.ngStrap']);

Developers

Clone the repo, git clone git://github.com/douglasduteil/angular-utility-belt/.git, download the latest release or install with bower bower install bar.jumbotron#master --save.

AngularStrap is tested with karma against the latest stable release of AngularJS.

$ npm install
$ gulp test

You can build the latest version using gulp.

$ gulp dist

You can quickly hack around (the docs) with:

$ gulp serve

Contributing

Please submit all pull requests the against master branch. If your unit test contains JavaScript patches or features, you should include relevant unit tests. Thanks!

Examples

Usage

Options

directive

jumbotronDirective

The jumbotron directive. Have a sweet header.

Arguments
Param Type Details
title (optional) string

The jumbotron title.

Defaults : ‘Hello World’
class (optional) string

The jumbotron additional class.

Defaults : ‘jumbotron—bar’

object

barJumbotronConfig

Properties
Param Type Details
class
string

the class name

title
string

the title

templateUrl
string

the used template URL