All Questions
Tagged with angularjs-scope ionic-framework
212 questions
1
vote
0
answers
65
views
$scope of abstract state controller is not being destroyed upon leaving - AngularJS
I have an abstract state app, a child state app.dashboard, and a login state login in ionic1 application. Each state has its template and controller, except for app state; it only has a controller, ...
0
votes
1
answer
46
views
some params dont pass value when changing state angularjs
I have weird problem, I cant pass value of some params to other state in angular js.
I tried to assign value to params for search params before doing http request
.state('tab.box', {
url: '/...
0
votes
2
answers
333
views
angularjs ng-repeat not updating after adding new data in ionic v1
ng-repeat is not updating after adding new data and updating the $scope with new data. Here in my case user will add new address and it will return to the home view here the ng-repeat data is not ...
0
votes
1
answer
157
views
Trying to display scope in html - angularJS/ionic
Trying to display scope in html - angularJS/ionic
Trying to display the title to my web page but nothing is showing up. I'm fairly new to angular and ionic framework. If anyone can point out what I'm ...
-1
votes
1
answer
337
views
ionic1 angular js ng-repeat | filter : search not working?
angular.module('starter.services', [])
.factory('Chats', function($http) {
// Might use a resource here that returns a JSON array
// Some fake testing data
var chats=[];
$http({
...
0
votes
2
answers
523
views
Ionic v1 ng-model doesn't update
This is my HTML structure in Ionic project.
<div ng-model="pollPage.test.username">updated content</div>
{{pollPage.test.username}}
Controller:
vm.test = {
username : 'static',
...
0
votes
1
answer
26
views
Ionic1 Factory Update and return changes
I have an ionic1 application which uses a factory / service.
.factory('expenses', function($http) {
var expenseCategories = [];
return {
getCategories: function(){
...
1
vote
2
answers
54
views
$scope variable in function
I have to take a few pictures in an app, I'm making it with Ionic and Angular.
I have 3 buttons and each has to take a picture.
This is the HTML side:
<img ng-src="{{srcImage1 || 'img/...
4
votes
1
answer
896
views
Loading map to ngSwitch child scope using ElementRef in Ionic
I'm trying to access a ngSwitchCase view using @ViewChild and ElementRef to load a google map in my Ionic 3 app. I understand the ngSwitch creates its own scope but is it not accessible in anyway so I ...
1
vote
1
answer
33
views
Value only showing latest in array using $scope AngularJS
So I am trying to show certain data (journal entries) when a date on a calendar is chosen (See images)
Image of calendar.
Image of result when a date with journal entry is picked.
So when a date is ...
1
vote
1
answer
331
views
Update a scope variable value with Phaser and typescript in an ionic 2 app
I am trying to create a game application with Ionic 2 (which uses TypeScript) and Phaser.io. So far everything was good and my game works but ...
I can launch Phaser action inside a TypeScript ...
-1
votes
2
answers
248
views
Convert text input to lowercase - Javascript
Having trouble creating a case insensitive search in my Ionic app. I have the following that pushes tags into firebase. How can I convert the entire array to lowercase before going into the database?...
0
votes
3
answers
619
views
rootScope variables are null after time
i'm developing an app with ionic that should save some variables like rootScope variables at the login and reuse these variables in http requests during the run of the application.
My problem is that ...
1
vote
3
answers
427
views
How to show a title from an array in each state with ionic?
I'm trying to make a playlist app with ionic, and I would like to show on each state by id the title (this is a starter app from ionic sidemenu template, without many changes from the beginning), here ...
0
votes
1
answer
78
views
How to write <script> in $scope style
I'm implementing google map into my ionic app, and I have a script in my index.html, which, will only allow the map works in the index.html.
But I need my map in my templates file route.html instead, ...