0 Replies Latest reply on Jul 18, 2016 10:28 PM by aniketbelsare

    Not able to Map URL in  jive hosted app using angularJS with it.


      'use strict';



        .module('publicApp', [





        .config(function ($stateProvider, $urlRouterProvider) {

          $stateProvider.state('home', {

            url: '/',



            controller: 'MainCtrl',

            controllerAs: 'MainCtrl'





      <Content type="html" view="myView"  href="app/index.html" preferred_height="600" />

      loaded my index.html file through app.xml and  included app.js(route file ) in index.html



      I want to create a jive hosted app using angularJs for frontend . this is my route file I  want to route to main.html . In my console address resolved is <jive-instance>/gadgets/main.html instead of <jive-instance>/resources/add-ons/../../app/views/main.html ..? how to resolve view to correct address.   Am I doing something wrong ..?