Prasad108 / TutesMessanger

Tutes Messanger, Develpment to Serve Others
http://softus.in
8 stars 3 forks source link

SMS Subject Result #77

Closed Prasad108 closed 6 years ago

Prasad108 commented 6 years ago

Hi @AnilNalawade update this issue, write into it what we have decided yersterday

NalawadeAnil commented 6 years ago

Hi, @Prasad108 as we discussed yesterday,

On first SMS page we are going to show , like

SMS mode

  1. Send Subject Result,
  2. Send Exam Result

Select Exam page.

Prasad108 commented 6 years ago

just updated your comment with the Markdown

Prasad108 commented 6 years ago

if u get code for State transition from controller please update it over here for future references

NalawadeAnil commented 6 years ago

sms.js

var app=angular.module("myApp");
                app.controller("smsCtrl",function($scope,$http,$state){
                    $scope.goToNext=function(){
                        //console.log("inside goToNext function");
                        $state.go('selectExam');
                    }
                });

We required to only add $state service in controller,and write in function $state.go("where you want to go") <----write the state name added in app.js in paranthesis;

NalawadeAnil commented 6 years ago

sms.html template is not reflected as it is, ignore that. in Preview it shows proper template but after comment it not.

Prasad108 commented 6 years ago

well done @AnilNalawade