EVOLUTION-MANAGER
Edit File: iscp.html
<a href='https://github.com/angular/angular.js/edit/v1.3.x/docs/content/error/$compile/iscp.ngdoc?message=docs(error%2Fiscp)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a> <h1>Error: error:iscp <div><span class='hint'>Invalid Isolate Scope Definition</span></div> </h1> <div> <pre class="minerr-errmsg" error-display="Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}">Invalid isolate scope definition for directive '{0}'. Definition: {... {1}: '{2}' ...}</pre> </div> <h2>Description</h2> <div class="description"> <p>When declaring isolate scope the scope definition object must be in specific format which starts with mode character (<code>@&=</code>) with an optional local name.</p> <pre><code>myModule.directive('directiveName', function factory() { return { ... scope: { 'attrName': '@', // OK 'attrName2': '=localName', // OK 'attrName3': 'name', // ERROR: missing mode @&= 'attrName4': ' = name', // ERROR: extra spaces 'attrName5': 'name=', // ERROR: must be prefixed with @&= } ... } }); </code></pre> <p>Please refer to the <a href="api/ng/service/$compile#directive-definition-object"><code>scope</code> option</a> of the directive definition documentation to learn more about the API.</p> </div>