This is my code… I don’t know how to explain but it always say undefined when I enter something on the text box… but $scope.goaltitle = “something” is working on the .controller(); … Answer Short Answer The root cause of this issue is, ion-content does create a prototypically inherited child scope, that’s why goaltitle(primitive type) of controller scope is different
Tag: ionic-framework
Time conversion Not working properly?
I am using the ionic time picker in my project. When I select the time picker it passes a value to the controller. For example when I select 09:00pm, the console shows 79200. If I select 07:00pm the console shows 68400. I want to convert the value to 12 hrs format. I have followed some steps, but it’s not working
Cordova SQLite save BLOB
I have a problem with Cordova SQLite plugin. How can I save BLOB image to SQLite? I have BLOB object in JS: And I trying to save it And when i trying to get this image: I get this string: How can i convert it to BLOB again? Also i trying to save images in base64, but i can’t save
Document element click() method not triggering in ionic angular app
I have an angular ionic cordova app where I’m trying to trigger the click of an input from another span (so that I can trigger the native datetime keyboard in cordova) . However the click event doesn’t seem to be triggered on the input field. Looking at the debugger, the click function of the document element is not null, but