Added tests for contentProvider view
diff --git a/xos/core/xoslib/ngXosViews/contentProvider/bower.json b/xos/core/xoslib/ngXosViews/contentProvider/bower.json
index 516533c..96e6da5 100644
--- a/xos/core/xoslib/ngXosViews/contentProvider/bower.json
+++ b/xos/core/xoslib/ngXosViews/contentProvider/bower.json
@@ -14,9 +14,10 @@
     "test",
     "tests"
   ],
-  "dependencies": {
-  },
+  "dependencies": {},
   "devDependencies": {
+    "jquery": "~2.1.4",
+    "angular-mocks": "~1.4.7",
     "angular": "~1.4.7",
     "angular-route": "~1.4.7",
     "angular-cookies": "~1.4.7",
diff --git a/xos/core/xoslib/ngXosViews/contentProvider/karma.conf.js b/xos/core/xoslib/ngXosViews/contentProvider/karma.conf.js
new file mode 100644
index 0000000..83d3f63
--- /dev/null
+++ b/xos/core/xoslib/ngXosViews/contentProvider/karma.conf.js
@@ -0,0 +1,88 @@
+// Karma configuration
+// Generated on Tue Oct 06 2015 09:27:10 GMT+0000 (UTC)
+
+/* eslint indent: [2,2], quotes: [2, "single"]*/
+
+/*eslint-disable*/
+var wiredep = require('wiredep');
+var path = require('path');
+
+var bowerComponents = wiredep( {devDependencies: true} )[ 'js' ].map(function( file ){
+  return path.relative(process.cwd(), file);
+});
+
+module.exports = function(config) {
+/*eslint-enable*/
+  config.set({
+
+    // base path that will be used to resolve all patterns (eg. files, exclude)
+    basePath: '',
+
+
+    // frameworks to use
+    // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
+    frameworks: ['jasmine'],
+
+
+    // list of files / patterns to load in the browser
+    files: bowerComponents.concat([
+      '../../static/js/xosApi.js',
+      '../../static/js/vendor/ngXosHelpers.js',
+      'src/js/**/*.js',
+      'spec/**/*.mock.js',
+      'spec/**/*.test.js',
+      'src/**/*.html'
+    ]),
+
+
+    // list of files to exclude
+    exclude: [
+    ],
+
+
+    // preprocess matching files before serving them to the browser
+    // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
+    preprocessors: {
+      'src/js/**/*.js': ['babel'],
+      'spec/**/*.test.js': ['babel'],
+      'src/**/*.html': ['ng-html2js']
+    },
+
+    ngHtml2JsPreprocessor: {
+      stripPrefix: 'src/', //strip the src path from template url (http://stackoverflow.com/questions/22869668/karma-unexpected-request-when-testing-angular-directive-even-with-ng-html2js)
+      moduleName: 'templates' // define the template module name
+    },
+
+    // test results reporter to use
+    // possible values: 'dots', 'progress'
+    // available reporters: https://npmjs.org/browse/keyword/karma-reporter
+    reporters: ['mocha'],
+
+
+    // web server port
+    port: 9876,
+
+
+    // enable / disable colors in the output (reporters and logs)
+    colors: true,
+
+
+    // level of logging
+    // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
+    logLevel: config.LOG_INFO,
+
+
+    // enable / disable watching file and executing tests whenever any file changes
+    autoWatch: true,
+
+
+    // start these browsers
+    // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
+    browsers: ['PhantomJS'],
+
+
+    // Continuous Integration mode
+    // if true, Karma captures browsers, runs the tests and exits
+    singleRun: false
+  });
+};
diff --git a/xos/core/xoslib/ngXosViews/contentProvider/package.json b/xos/core/xoslib/ngXosViews/contentProvider/package.json
index 331182b..9fa9379 100644
--- a/xos/core/xoslib/ngXosViews/contentProvider/package.json
+++ b/xos/core/xoslib/ngXosViews/contentProvider/package.json
@@ -6,7 +6,8 @@
     "prestart": "npm install && bower install",
     "start": "gulp serve",
     "prebuild": "npm install && bower install",
-    "build": "gulp"
+    "build": "gulp",
+    "test": "karma start"
   },
   "keywords": [
     "XOS",
diff --git a/xos/core/xoslib/ngXosViews/contentProvider/spec/contentprovider.test.js b/xos/core/xoslib/ngXosViews/contentProvider/spec/contentprovider.test.js
index 7b64ae8..5a56d26 100644
--- a/xos/core/xoslib/ngXosViews/contentProvider/spec/contentprovider.test.js
+++ b/xos/core/xoslib/ngXosViews/contentProvider/spec/contentprovider.test.js
@@ -7,7 +7,9 @@
   var token = 'fakeToken';
 
   // injecting main module
-  beforeEach(module('xos.contentProviderApp'));
+  beforeEach(module('xos.contentProvider'));
+
+  beforeEach(module('templates'));
 
   beforeEach(function(){
     module(function($provide, $httpProvider){
diff --git a/xos/core/xoslib/ngXosViews/contentProvider/src/index.html b/xos/core/xoslib/ngXosViews/contentProvider/src/index.html
index 2d5f6d2..510f27e 100644
--- a/xos/core/xoslib/ngXosViews/contentProvider/src/index.html
+++ b/xos/core/xoslib/ngXosViews/contentProvider/src/index.html
@@ -24,6 +24,8 @@
 <script src="vendor/angular-resource/angular-resource.js"></script>
 <script src="vendor/ng-lodash/build/ng-lodash.js"></script>
 <script src="vendor/bootstrap-css/js/bootstrap.js"></script>
+<script src="vendor/angular-mocks/angular-mocks.js"></script>
+<script src="vendor/jquery/dist/jquery.js"></script>
 <!-- endbower -->
 <!-- inject:js -->
 <script src="/xosHelpers/xosHelpers.module.js"></script>