js"
      type="protractor"
      language="js">
      <pre><code>it(&#39;should test service&#39;, function() {&#10;  expect(element(by.id(&#39;simple&#39;)).element(by.model(&#39;message&#39;)).getAttribute(&#39;value&#39;))&#10;      .toEqual(&#39;test&#39;);&#10;});</code></pre>
    </div>
  

    <iframe class="runnable-example-frame" src="examples/example-example42/index.html" name="example-example42"></iframe>
  </div>
</div>


</p>
<h2 id="creating-services">Creating Services</h2>
<p>Application dev