<commit_before># scania-angular-ui [![Join the chat at https://gitter.im/scania-bootstrap/scania-angular-ui](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scania-bootstrap/scania-angular-ui?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This repository contains all Scania extensions, you can either download it or download extensions you like to use separately.

Scania-angular-ui is a set of native AngularJS extensions including a for file upload and gallery on AngularJs framework and a selection box with support for searching, tagging, ng-model, ng-repeat, native HTML select and option tags.

###<a href="http://embed.plnkr.co/PlVBJeLgy5CgqED6rzQq/preview">Demo file upload</a>
###<a href="http://embed.plnkr.co/PlVBJeLgy5CgqED6rzQq/preview">Demo lightbox</a>
###<a href="http://embed.plnkr.co/L3YYgq7TEM2mBG9s9we1/preview">Demo select</a>

# Getting Started


##Requirements

        <a href="http://getbootstrap.com/">Bootstrap</a><br/>
        <a href="https://angularjs.org/">Angular animate</a><br/>
        <a href="http://flowjs.github.io/ng-flow/">flow/ng-flow</a><br/>
        <a href="https://angular-ui.github.io/bootstrap/">UI Bootstrap</a><br/>
        <a href="https://github.com/ivaynberg/select2">Select2 V3.5.2</a><br/>
        <a href="https://github.com/jashkenas/underscore">Underscore</a><br/>
        <a href="http://jquery.com/">JQuery</a><br/>

## Installation

     bower install scania-angular-ui

#Usage


Add the following script to your index.html file and you are good to go :<br/>

    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="https://static.scania.com/development/global/css/scania-bootstrap.css" rel="stylesheet" type="text/css">
     <link rel="stylesheet" href="bower_components/select2/select2.css"/><br/>
    <link href="scania-angular-ui.css"  rel="stylesheet" type="text/css">

    <script type="text/javascript" src="bower_components/jquery/jquery.js"></script>
    <script type="text/javascript" src="bower_components/underscore/underscore.js"></script>
    <script src="bower_components/select2/select2.js"></script>
    <script src="bower_components/flow.js/dist/flow.js"></script>
    <script src="bower_components/ng-flow/dist/ng-flow.js"></script>

    <script src="bower_components/scania-angular-ui/src/scania-angular-ui-tpls.js"></script> (id you want to use default templates)
    <script src="bower_components/scania-angular-ui/src/scania-angular-ui.js"></script> (is you want to provide your own templates)


Next inject the directive into your app

    angular.module('yourapp', ['scania.angular.ui']);

A complete example can be found on respective extension.

 <a href="http://embed.plnkr.co/PlVBJeLgy5CgqED6rzQq/preview">Lightbox</a><br/>
 <a href="http://embed.plnkr.co/L3YYgq7TEM2mBG9s9we1/preview">Select</a>

For the full version just change the dependency injection to

    angular.module('yourapp', ['scania.angular.ui']);<commit_msg>Contribution steps<commit_after># scania-angular-ui [![Join the chat at https://gitter.im/scania-bootstrap/scania-angular-ui](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scania-bootstrap/scania-angular-ui?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This repository contains all Scania extensions, you can either download it or download extensions you like to use separately.

Scania-angular-ui is a set of native AngularJS extensions including a for file upload and gallery on AngularJs framework and a selection box with support for searching, tagging, ng-model, ng-repeat, native HTML select and option tags.

###<a href="http://embed.plnkr.co/PlVBJeLgy5CgqED6rzQq/preview">Demo file upload</a>
###<a href="http://embed.plnkr.co/PlVBJeLgy5CgqED6rzQq/preview">Demo lightbox</a>
###<a href="http://embed.plnkr.co/L3YYgq7TEM2mBG9s9we1/preview">Demo select</a>

# Getting Started


##Requirements

        <a href="http://getbootstrap.com/">Bootstrap</a><br/>
        <a href="https://angularjs.org/">Angular animate</a><br/>
        <a href="http://flowjs.github.io/ng-flow/">flow/ng-flow</a><br/>
        <a href="https://angular-ui.github.io/bootstrap/">UI Bootstrap</a><br/>
        <a href="https://github.com/ivaynberg/select2">Select2 V3.5.2</a><br/>
        <a href="https://github.com/jashkenas/underscore">Underscore</a><br/>
        <a href="http://jquery.com/">JQuery</a><br/>

## Installation

     bower install scania-angular-ui

#Usage


Add the following script to your index.html file and you are good to go :<br/>

    <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="https://static.scania.com/development/global/css/scania-bootstrap.css" rel="stylesheet" type="text/css">
     <link rel="stylesheet" href="bower_components/select2/select2.css"/><br/>
    <link href="scania-angular-ui.css"  rel="stylesheet" type="text/css">

    <script type="text/javascript" src="bower_components/jquery/jquery.js"></script>
    <script type="text/javascript" src="bower_components/underscore/underscore.js"></script>
    <script src="bower_components/select2/select2.js"></script>
    <script src="bower_components/flow.js/dist/flow.js"></script>
    <script src="bower_components/ng-flow/dist/ng-flow.js"></script>

    <script src="bower_components/scania-angular-ui/src/scania-angular-ui-tpls.js"></script> (id you want to use default templates)
    <script src="bower_components/scania-angular-ui/src/scania-angular-ui.js"></script> (is you want to provide your own templates)


Next inject the directive into your app

    angular.module('yourapp', ['scania.angular.ui']);

A complete example can be found on respective extension.

 <a href="http://embed.plnkr.co/PlVBJeLgy5CgqED6rzQq/preview">Lightbox</a><br/>
 <a href="http://embed.plnkr.co/L3YYgq7TEM2mBG9s9we1/preview">Select</a>

For the full version just change the dependency injection to

    angular.module('yourapp', ['scania.angular.ui']);


# Contributions


If you want to contribute, please:

	* Fork the project.
	* Run test (karma start karma.config.js)
	* Make your feature addition or bug fix and test it.
	* Run test to make sure you haven't break anything.
	* Send me a pull request on Github.

## License

scania-angular-ui is released under the [MIT License](http://www.opensource.org/licenses/MIT).
{'fraction_non_alphanumeric': 0.15849115181620616, 'fraction_numerical': 0.009934802856255821, 'mean_word_length': 4.511548331907614, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, 'https://': 16, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4451727', 'n_tokens_mistral': 2216, 'n_tokens_neox': 2143, 'n_words': 431}