This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(window).load(function () { | |
var component = draw2d.shape.basic.Rectangle.extend({ | |
init: function (width, height, label, level) { | |
this._super(width, height); | |
// Create any Draw2D figure as decoration for the connection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eventsApp.factory('MovieService', function($resource) { | |
return { | |
getMovie: function() { | |
return $resource('http://api.rottentomatoes.com/api/public/v1.0/movies/770672122.json?apikey=6zrhq6qq2sjgh8c7qsfgddg5').get(); | |
} | |
}; | |
}); | |
eventsApp.controller('MovieController', |