Skip to content

Wire up a mocked appDirectives.js #13

@jamigibbs

Description

@jamigibbs

I'm learning Angular so keep that in mind but it seems that the directives file should be mocked and wired up in the app already just as services and controllers are. For example:

// index.html
<script src="js/appDirectives.js"></script>

// appDirectives.js
angular.module('MainDirectives', []).directive('example', function(){

});

// app.js
'MainDirectives'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions