<?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/Angular app throwing errors in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Ionic-Angular-app-throwing-errors/m-p/1075977#M59885</link>
    <description>&lt;P&gt;Created a new app, made no code changes and launched the emulator.&amp;nbsp; If I bring up the debug console I see the following errors:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Failed to load resource: the server responded with a status of 404 (Not Found) &lt;A href="http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/slick/Development/XDK/AutoPartPricing_Ionic/www/cordova.js" target="_blank"&gt;http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/slick/Development/XDK/AutoPartPricing_Ionic/www/cordova.js&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;Uncaught TypeError: Cannot read property 'hide' of undefined app.js:6&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I don't know if this is new in the latest release of XDK since this is the first time I'm trying out Ionic with Angular in XDK.&amp;nbsp; Build looks to be 3357 of XDK&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index.html&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html ng-app="ionicApp"&amp;gt;
&amp;lt;head&amp;gt;

  &amp;lt;meta charset="utf-8"&amp;gt;
  &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"&amp;gt;

  &amp;lt;title&amp;gt;Ionic-AngularJS-Cordova&amp;lt;/title&amp;gt;

  &amp;lt;!-- Ionic framework - replace the CDN links with local files and build --&amp;gt;    
  &amp;lt;link href="lib/ionicframework/ionic.min.css" rel="stylesheet"&amp;gt;
  &amp;lt;script src="lib/ionicframework/ionic.bundle.min.js"&amp;gt;&amp;lt;/script&amp;gt;
    
  &amp;lt;script src="js/app.js"&amp;gt;&amp;lt;/script&amp;gt;
    
  &amp;lt;script src="cordova.js"&amp;gt;&amp;lt;/script&amp;gt;

  &amp;lt;style&amp;gt;
      .box {height:300px;padding: 10px}
  &amp;lt;/style&amp;gt;      
&amp;lt;/head&amp;gt;

&amp;lt;body ng-controller="AppCtrl"&amp;gt;

    &amp;lt;ion-header-bar class="bar-positive"&amp;gt;
      &amp;lt;h1 class="title"&amp;gt;Title&amp;lt;/h1&amp;gt;
    &amp;lt;/ion-header-bar&amp;gt;
    &amp;lt;ion-content padding="true"&amp;gt;
      &amp;lt;p&amp;gt;Hello World&amp;lt;/p&amp;gt;
    &amp;lt;/ion-content&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;app.js&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;angular.module('ionicApp', ['ionic'])
  
 .controller('AppCtrl', function() {

  ionic.Platform.ready(function() {
    navigator.splashscreen.hide();
  });

 });
              
              &lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 May 2016 02:07:51 GMT</pubDate>
    <dc:creator>Brian_N_</dc:creator>
    <dc:date>2016-05-27T02:07:51Z</dc:date>
    <item>
      <title>Ionic/Angular app throwing errors</title>
      <link>https://community.intel.com/t5/Software-Archive/Ionic-Angular-app-throwing-errors/m-p/1075977#M59885</link>
      <description>&lt;P&gt;Created a new app, made no code changes and launched the emulator.&amp;nbsp; If I bring up the debug console I see the following errors:&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Failed to load resource: the server responded with a status of 404 (Not Found) &lt;A href="http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/slick/Development/XDK/AutoPartPricing_Ionic/www/cordova.js" target="_blank"&gt;http://127.0.0.1:58889/http-services/emulator-webserver/ripple/userapp/x/C/Users/slick/Development/XDK/AutoPartPricing_Ionic/www/cordova.js&lt;/A&gt;&lt;/LI&gt;
	&lt;LI&gt;Uncaught TypeError: Cannot read property 'hide' of undefined app.js:6&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I don't know if this is new in the latest release of XDK since this is the first time I'm trying out Ionic with Angular in XDK.&amp;nbsp; Build looks to be 3357 of XDK&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index.html&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html ng-app="ionicApp"&amp;gt;
&amp;lt;head&amp;gt;

  &amp;lt;meta charset="utf-8"&amp;gt;
  &amp;lt;meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"&amp;gt;

  &amp;lt;title&amp;gt;Ionic-AngularJS-Cordova&amp;lt;/title&amp;gt;

  &amp;lt;!-- Ionic framework - replace the CDN links with local files and build --&amp;gt;    
  &amp;lt;link href="lib/ionicframework/ionic.min.css" rel="stylesheet"&amp;gt;
  &amp;lt;script src="lib/ionicframework/ionic.bundle.min.js"&amp;gt;&amp;lt;/script&amp;gt;
    
  &amp;lt;script src="js/app.js"&amp;gt;&amp;lt;/script&amp;gt;
    
  &amp;lt;script src="cordova.js"&amp;gt;&amp;lt;/script&amp;gt;

  &amp;lt;style&amp;gt;
      .box {height:300px;padding: 10px}
  &amp;lt;/style&amp;gt;      
&amp;lt;/head&amp;gt;

&amp;lt;body ng-controller="AppCtrl"&amp;gt;

    &amp;lt;ion-header-bar class="bar-positive"&amp;gt;
      &amp;lt;h1 class="title"&amp;gt;Title&amp;lt;/h1&amp;gt;
    &amp;lt;/ion-header-bar&amp;gt;
    &amp;lt;ion-content padding="true"&amp;gt;
      &amp;lt;p&amp;gt;Hello World&amp;lt;/p&amp;gt;
    &amp;lt;/ion-content&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;app.js&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;angular.module('ionicApp', ['ionic'])
  
 .controller('AppCtrl', function() {

  ionic.Platform.ready(function() {
    navigator.splashscreen.hide();
  });

 });
              
              &lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 02:07:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ionic-Angular-app-throwing-errors/m-p/1075977#M59885</guid>
      <dc:creator>Brian_N_</dc:creator>
      <dc:date>2016-05-27T02:07:51Z</dc:date>
    </item>
    <item>
      <title>Please try debugging it with</title>
      <link>https://community.intel.com/t5/Software-Archive/Ionic-Angular-app-throwing-errors/m-p/1075978#M59886</link>
      <description>&lt;P&gt;Please try debugging it with the Debug tab and see if that makes a difference.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 18:15:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Ionic-Angular-app-throwing-errors/m-p/1075978#M59886</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2016-05-27T18:15:03Z</dc:date>
    </item>
  </channel>
</rss>

