Benmakhlouf Saad

Benmakhlouf Saad

  • NA
  • 134
  • 12.8k

merge two projects

Nov 8 2016 10:51 AM
 
I have Two Projects and i want to merge them ine one File JavaScript
 
Project : 1
 
File : App.Js 
 
var app = angular.module('PegaseApp', ['ngTouch', 'SignalR', 'ui.grid', 'ui.grid.selection', 'ui.grid.resizeColumns', 'ui.bootstrap', 'ui.bootstrap.datetimepicker', 'AxelSoft']);
 
File : Intervention.Js 
 
 
angular.module('PegaseApp')
.controller('MainCtrl', ['$rootScope', '$scope', 'HubManager', function ($rootScope, $scope, HubManager) {
........
} );
                                       Project : 2
 
 File : spl.Js
 
angular.module('myApp', ['bgDirectives']);
angular.module('bgDirectives', [])
.directive('bgSplitter', function () {
..........
}); 
 
The expected result is to combine this two projects in one File Javascript and one File Html 
 
 
 

Answers (3)