<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Ionic passing data with JSON in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Ionic-passing-data-with-JSON/m-p/1079888#M61147</link>
    <description>&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Hi I'm trying to pass data from my APK that is based on HTML using Intel XDK, as framework i use Ionic. I make a form with some text input and comboBox where i get the data that i want to send. I have some part of my code where i get data from a text input and combo box and at the end the JSON. The main problem that i have is how to make fit the data that i get into that JSON structure.&amp;nbsp;&lt;/P&gt;

&lt;PRE class="default prettyprint prettyprinted" style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(238, 238, 238); color: rgb(57, 51, 24); word-wrap: normal;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;form&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-submit&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"submitEvent(event)"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;label&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"item item-input"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;span&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"input-label"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;Rut&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/span&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;input&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;type&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"text"&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-model&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"event.rut"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/label&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;label&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"item item-input item-select"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;div&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"input-label"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                    Comuna
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-model&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"selectedComuna"&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-options&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"x for x in comuna track by x"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&amp;lt;/select&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                            &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/label&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;


&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; app &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; angular&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;module&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'myApp'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[]);&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            app&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;controller&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'myCtrl'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;$scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;name &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;selectedName &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;region &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Región de Los Ríos"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;];&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;names &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"A+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"A-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"B+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"B-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"O+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"O-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"AB+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"AB-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;];&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;comuna &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Corral"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Lanco"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Los Lagos"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Máfil"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Mariquina"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Paillaco"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Panguipulli"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Valdivia"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Futrono"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"La Unión"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"  Lago Ranco"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Río Bueno"&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;];&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            angular&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;module&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'myApp'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'ionic'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;]).&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;controller&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'ctrl'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;$scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; $http&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;

              $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;postData &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;()&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                console&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;log&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;" posted"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
              $http&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;({&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                type&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'POST'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                url&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'https://api.parse.com/1/classes/shifts'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                dataType&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'json'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;  
                data&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                      input&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; event&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;rut 
                &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;},&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                headers&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                    &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'X-Parse-Application-Id'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                    &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'X-Parse-REST-API-Key'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;})&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;success&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;data&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; status&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;

            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;})&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;error&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;data&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; status&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;

            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;};&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 07 Apr 2016 21:25:53 GMT</pubDate>
    <dc:creator>nicolas_r_</dc:creator>
    <dc:date>2016-04-07T21:25:53Z</dc:date>
    <item>
      <title>Ionic passing data with JSON</title>
      <link>https://community.intel.com/t5/Software-Archive/Ionic-passing-data-with-JSON/m-p/1079888#M61147</link>
      <description>&lt;P style="margin-bottom: 1em; border: 0px; font-size: 15px; clear: both; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;Hi I'm trying to pass data from my APK that is based on HTML using Intel XDK, as framework i use Ionic. I make a form with some text input and comboBox where i get the data that i want to send. I have some part of my code where i get data from a text input and combo box and at the end the JSON. The main problem that i have is how to make fit the data that i get into that JSON structure.&amp;nbsp;&lt;/P&gt;

&lt;PRE class="default prettyprint prettyprinted" style="margin-top: 0px; padding: 5px; border: 0px; font-size: 13px; width: auto; max-height: 600px; overflow: auto; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; background-color: rgb(238, 238, 238); color: rgb(57, 51, 24); word-wrap: normal;"&gt;&lt;CODE style="margin: 0px; padding: 0px; border: 0px; font-size: 13px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif; white-space: inherit;"&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;form&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-submit&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"submitEvent(event)"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;label&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"item item-input"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;span&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"input-label"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;Rut&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/span&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;input&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;type&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"text"&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-model&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"event.rut"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/label&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;label&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"item item-input item-select"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;div&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;class&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"input-label"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                    Comuna
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                                &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;select&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-model&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"selectedComuna"&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="atn" style="margin: 0px; padding: 0px; border: 0px; color: rgb(230, 67, 32);"&gt;ng-options&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="atv" style="margin: 0px; padding: 0px; border: 0px; color: rgb(15, 116, 189);"&gt;"x for x in comuna track by x"&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;gt;&amp;lt;/select&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                            &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/label&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;


&lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; app &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; angular&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;module&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'myApp'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[]);&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            app&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;controller&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'myCtrl'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;$scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;name &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;selectedName &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;region &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Región de Los Ríos"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;];&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;names &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"A+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"A-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"B+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"B-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"O+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"O-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"AB+"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"AB-"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;];&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;comuna &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Corral"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Lanco"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Los Lagos"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Máfil"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Mariquina"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Paillaco"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Panguipulli"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Valdivia"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Futrono"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"La Unión"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"  Lago Ranco"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;"Río Bueno"&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;];&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;script&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            angular&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;module&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'myApp'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;[&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'ionic'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;]).&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;controller&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'ctrl'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;$scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; $http&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;

              $scope&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;postData &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;()&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                console&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;log&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;" posted"&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
              $http&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;({&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                type&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'POST'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                url&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'https://api.parse.com/1/classes/shifts'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                dataType&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'json'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;  
                data&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                      input&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; event&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;rut 
                &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;},&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                headers&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                    &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'X-Parse-Application-Id'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                    &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;'X-Parse-REST-API-Key'&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;''&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
                &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;})&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;success&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;data&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; status&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;

            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;})&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;error&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="margin: 0px; padding: 0px; border: 0px; color: rgb(0, 0, 139);"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;data&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; status&lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;

            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;};&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
            &lt;/SPAN&gt;&lt;SPAN class="pun" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="margin: 0px; padding: 0px; border: 0px; color: rgb(46, 49, 51);"&gt;
    &lt;/SPAN&gt;&lt;SPAN class="tag" style="margin: 0px; padding: 0px; border: 0px; color: rgb(107, 41, 27);"&gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 07 Apr 2016 21:25:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ionic-passing-data-with-JSON/m-p/1079888#M61147</guid>
      <dc:creator>nicolas_r_</dc:creator>
      <dc:date>2016-04-07T21:25:53Z</dc:date>
    </item>
    <item>
      <title>Nicolas -- how to write code</title>
      <link>https://community.intel.com/t5/Software-Archive/Ionic-passing-data-with-JSON/m-p/1079889#M61148</link>
      <description>&lt;P&gt;Nicolas -- how to write code in HTML5 and use the various HTML5 frameworks is outside the scope of this forum. I recommend you check the Iconic and Angular forums and StackOverflow for advice on how to do what you are asking.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 23:42:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ionic-passing-data-with-JSON/m-p/1079889#M61148</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-04-12T23:42:38Z</dc:date>
    </item>
  </channel>
</rss>

