module.exports = function ( grunt ) { 
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-uglify');
	grunt.loadNpmTasks('grunt-contrib-concat');
	grunt.loadNpmTasks('grunt-karma');
	grunt.loadNpmTasks('grunt-contrib-less');
	grunt.loadNpmTasks('jit-grunt');
	grunt.initConfig({
		jshint: {
			src: ['src/js/**/*.js', '!src/js/dest/*.js'],
			gruntfile: ['Gruntfile.js'],
			options: {
				curly:  true,
				immed:  true,
				newcap: true,
				noarg:  true,
				sub:    true,
				boss:   true,
				eqnull: true,
				node:   true,
				undef:  true,
				globals: {
					_:       false,
					jQuery:  false,
					angular: false,
					moment:  false,
					console: false,
					$:       false,
					io:      false
				}
			}
		},
		uglify: {
			my_target: {
		      files: {
		        	'src/js/dest/output.min.js': ['src/js/dest/built.js']
		      }
		   }
		},
		concat: {
		    options: {
		    	separator: ';',
		    },
		    dist: {
				src: ['src/js/**/*.js', '!src/js/dest/*.js'],
		      	dest: 'src/js/dest/built.js',
			},
		},
		karma: {
		 	unit: {
		 		options: {
      				frameworks: ['jasmine'],
      				singleRun: true,
  		    		browsers: ['Chrome'],
  		    		reporters: ['progress', 'coverage'],
  		    		preprocessors: {
  		    			'src/**/*.js': ['coverage']
  		    		},
		 			files: [
		 				'bower_components/angular/angular.js',
		 				'bower_components/angular-route/angular-route.js',
		 				'bower_components/angular-mocks/angular-mocks.js',
		 				'src/js/**/*.js',
		 				'tests/**/*.spec.js'
		 			],
		 			exclude: [
		 				'src/js/dest/*.js'
		 			]
		 		}
		 	}
		 },
	 	less: {
	 		development: {
    			options: {
      				compress: true,
      				yuicompress: true,
      				optimization: 2
    			},
    			files: {
      				"src/css/style.css": "src/css/style.less"
    			}
  			}
		}
		
	});
	grunt.registerTask('checkjs', ['jshint']);
	grunt.registerTask('minify', ['uglify']);
	grunt.registerTask('makeonefile', ['concat']);
	grunt.registerTask('makejs', ['concat', 'uglify']);
	grunt.registerTask('test', ['jshint', 'karma']);
	grunt.registerTask('default', ['jshint', 'concat', 'uglify', 'less']);
};
@@ -1485,24 +1485,94 @@
 -mocks.js',%0A
+%09%09 %09%09%09%09'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js',%0A
 %09%09 %09%09%09%09'src/

add ui bootstarp