froala / angular-froala

Angular.js bindings for Froala WYSIWYG HTML Rich Text Editor.
https://froala.com/wysiwyg-editor
MIT License
306 stars 123 forks source link

Module 'froala' is not available! #177

Closed bravility closed 5 years ago

bravility commented 6 years ago

since I run bower install froala-wysiwyg-editor --save

1.Add the froala dependency to my Angular project. example: angular.module('myApp', ['froala']) 2.Create a textarea with the froala directive in my view and give it a model, where myHtml is a variable on $scope. <textarea froala ng-model="myHtml"></textarea>

It throw some error:

Error: [$injector:nomod] Module 'froala' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

Did I miss some code?

bravility commented 6 years ago

I am sure that js has include and they in the right order。 image image

mthomasson commented 6 years ago

@bravility You should try to install angular-froala :)