0

For some experimenting, I need to put this Angular jQcloud at Plunker. I have put all the necessary codes provided by the plugin, still don't understand why that text cloud hasn't come at plunker. Can you please tell me what I have missed?

HTML:

<html ng-app="app" ng-controller="myCtrl">
  <body>
    <jqcloud words="words" width="500" height="350" steps="7"></jqcloud>  
  </body>
</html>

JS:

var app = angular.module('app', ['angular-jqcloud']);

app.controller('myCtrl', function ($scope) {
 $scope.words = [/* ... */];
});

Plunker link

user1896653
  • 3,247
  • 14
  • 49
  • 93

1 Answers1

0

Here it is.

You forgot to load jquery and angular-jqcloud scripts. Use angular.js instead of angular.min.js whenever possible, it makes more sense in debuggers that don't support source maps (e.g Firebug). Don't add angular directives to <html>, Plunker doesn't like it. Devtools are your best friends ever, especially console and network tabs.

Estus Flask
  • 206,104
  • 70
  • 425
  • 565