Questions tagged as 'angularjs'

1
answer

How to use plunker codes in my applications?

I've been an Oracle professional for 12 years and I'm starting web development with AngularJS. I searched the internet for "login screen angularJs" and got to the plunker with your model: link p> Obviously, I got carried away and downloa...
asked by 02.03.2017 / 09:26
1
answer

How to convert string time to Ionic time for PHP with MySQL?

Good morning, I'm passing the server a string that would be for time: 23:45 is an example. In my $ _GET I'm trying to convert this way: $prazo_entrega_min = time("hh:mm", strtotime($_GET['prazo_entrega_min'])); But to no avail. What can...
asked by 01.03.2017 / 15:26
1
answer

Update child component attributes

I'm making a very simple accordion component. A list of items where I click on one and it opens; if it already has some open, it closes and the other one opens. <ns-accordion-item is-show="false"> <accordion-head> <h3>...
asked by 30.08.2017 / 19:40
1
answer

Invoke a function passing arguments within $ Scope does not work

I have a function in a file called "mapHelper.js" responsible for adding popups to a map: function writeMarker(x,y,msg) { var muxiCoordinates = [x,y]; var muxiMarkerMessage = msg; L.marker(muxiCoordinates).addTo(map).bindP...
asked by 29.08.2017 / 21:14
1
answer

How to hide a button on the Ionic / Angular after it is clicked with ng-click?

I have a button, normal, with an ng-click calling a function: <button class="button button-full button-balanced" ng-click="fechaPedido(pedido.observacao )"> FINALIZAR PEDIDO </button> I would like it to be disabled o...
asked by 06.04.2017 / 17:22
1
answer

Angular ng-repeat and $ sce.trustAsHtml

I'm developing a system where PHP goes in PDO, Angular with crud getting faster and picking up the list coming from the MySQL database, the version of AngularJS is v1.5.8. So I'm caught in a $sce.trustAsHtml part and I've already looke...
asked by 16.02.2017 / 14:29
2
answers

"No 'Access-Control-Allow-Origin' header is present" cakephp

Good morning staff I'm making an application with angular and cakePHP. I'm trying to make a request for the backend and the following message appears in the console:    XMLHttpRequest can not load link . In 'Access-Control-Allow-Origin' h...
asked by 17.02.2017 / 14:37
2
answers

Eternal loop button using AngularJS

I'm using a button in which you have a call ng-click = CustomerSearch. It triggers a function in the controlled Angle but stays in the eternal loop. How do I fix this? HTML <div class="botao" align="right"> <md-but...
asked by 16.02.2017 / 15:40
2
answers

Difficulty in accessing url with angular post

I'm passing a url and some data via angular post ... But the following warning appear on the chrome console:    Cross source requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resou...
asked by 20.02.2017 / 17:16
1
answer

Always return to the top of the screen when clicking on links from a SPA with Angular.Js

I have an angled project, of which I define my views with $routeProvider and call the appropriate controllers, and use <ng-view></ng-view> to display them on my site. There are a few pages, but scrollbars, and clicki...
asked by 09.02.2017 / 18:02