# angular-patternfly
**Repository Path**: mirrors_jimmidyson/angular-patternfly
## Basic Information
- **Project Name**: angular-patternfly
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-23
- **Last Updated**: 2026-02-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# AngularJS directives for [PatternFly](https://www.patternfly.org)
This project will provide a set of common AngularJS directives for use with the PatternFly reference implementation.
* Web site: https://www.patternfly.org
* API Docs: http://angular-patternfly.rhcloud.com/#/api
* Build Status: https://travis-ci.org/patternfly/angular-patternfly.svg?branch=master
## Getting started
You have to install required software before you're able to use grunt:
* Install Node.js - Find more information on [Node.js](http://nodejs.org/)
* Install npm - If npm is not already installed with Node.js, you have to install it manually. Find more information on [NPM](https://www.npmjs.org/)
* Install Bower globally - Find more information on [Bower](http://bower.io/)
npm install -g bower
* Install Grunt globally - Find more information on [Grunt](http://gruntjs.com/)
npm install -g grunt-cli
* Install npm dependencies with:
npm install
* Install bower dependencies with:
bower install
You should have your environment ready now.
Angular-PatternFly can now be built with:
```shell
grunt build
```
To see all the grunt tasks that are available:
```shell
grunt help
```
### Using Angular-PatternFly In Your Application
Note:
1. Add Angular and Angular-PatternFly as a dependencies for your project and you'll receive all the libraries you'll need:
$ bower install angular --save
$ bower install angular-patternfly --save
2. Add the follwing CSS include to your HTML file(s):
3. Add the following script includes to your HTML file(s), adjusting where necessary to pull in only what you need:
4. (optional) The 'patternfly.charts' module is not a dependency in the default angular 'patternfly' module.
In order to use patternfly charts you must add 'patternfly.charts' as a dependency in your application:
my-app.module.js:
angular.module('myApp', [
'patternfly',
'patternfly.charts'
]);
## API documentation
The API documentation can be built with:
```shell
grunt ngdocs
```
If you're interested in reading the docs right away, you can use special target, which will start a web server:
```shell
grunt ngdocs:view
```
After executing this tasks you'll be able to access the documentation at [http://localhost:8000/](http://localhost:8000/). If a different port is desired, it may be specified on as an option:
```shell
grunt ngdocs:view --port=8002
```
## Releasing
Angular PatternFly is released through Bower. To release a new version version of Angular PatternFly, edit `bower.json` and `package.json` accordingly.
Update the version listed in `bower.json` by editing the file and changing the line:
```
"version": ""
```
Update the patternfly reference version listed in `bower.json` by editing the file and changing the line below. Angular patternfly has a dependency on the patternfly reference implementation so the major and minor version numbers of the two project should be the same:
```
"patternfly": ""
```
Update the version listed in `package.json` by editing the file and changing the line:
```
"version": ""
```
Commit the version bump:
```
git commit -m "Version bump to "
```
Publish a new set of release notes with ```new version``` as the tag version:
https://github.com/patternfly/angular-patternfly/releases/new
## Contributing
We're always interested in contributions from the community.
Please ensure that your PR provides the following:
* Detailed description of the proposed changes
* Follows the style rules for [javascript](.jshintrc) and [html](.htmlhintrc).
* Rebased onto the latest master commit