I am having trouble with creating a FeatureLayer from an ArcGISDynamicMapServiceLayer. The console gives me an error of "this._url is null" when trying to create the FeatureLayer.
Here is a link to my Plunker version. If you go into controllers.js you will see on lines 55-65 I am trying to create the FeatureLayer. It is commented out but you can comment it back in and see what happens.
Any help is greatly appreciated! Thanks