Carol.Kar
Carol.Kar

Reputation: 5215

Add a new module to an angular app

I have the application:

var testApp = angular.module('testApp', ['ngRoute']);

I installed a module but not yet fully included into my app.

How to add angular.module('myModule', ['decipher.tags', 'ui.bootstrap.typeahead'];, so that I can use it into my application?

I appreciate your answer!

Upvotes: 1

Views: 130

Answers (1)

doodeec
doodeec

Reputation: 2927

angular.module('testApp', ['ngRoute','myModule']);

Upvotes: 5

Related Questions