Errors inserting the script
lessandronp opened this issue · 1 comments
lessandronp commented
I'm getting the following errors after inserting into the script on my index page and module in application.
Script:
<script src="assets/global/scripts/showErrors.js" type="text/javascript"></script>Module:
var MetronicApp = angular.module('MetronicApp', ['MetronicApp.constants', 'MetronicApp.directives',
'MetronicApp.controllers', 'MetronicApp.services', 'ui.bootstrap', 'ui.router', 'ui.bootstrap.showErrors', 'oc.lazyLoad',
'ngSanitize', 'ngCookies']);
Errors:
SyntaxError: expected expression, got '<'
lessandronp commented
Sorry, the script was being written with html content when downloading