Posts by Claudia Mardegan • 357 points
5 posts
-
1
votes4
answers3898
viewsA: How to open and hide fields from a form by checking on button radio?
you could also use display:None and display:block in css
-
13
votes2
answers7111
viewsQ: How do I pass a parameter to another Scope with Angularjs?
I have a screen that contains a list of information, when clicking on some item I can get his number, for example: Item 5 of array. The problem is that on another screen I need to display the…
angularjsasked Claudia Mardegan 357 -
3
votes1
answer4689
viewsQ: How do I create a custom format in a string with Angularjs?
Well I have a date 19102015, if I do so {{step.data | date:'dd/MM/yyyy'}} i can format the date and get 19/10/2015. But in my case, I need something customized. I have a cnpj that comes like this:…
-
8
votes1
answer32691
viewsQ: How to work with ui-Mask in Angularjs input
<form name="myForm" ng-submit="addState(myForm.$valid)" novalidate > <input ng-model="data.cnpj" type="number" ui-mask="999.999.999-99" placeholder="CNPJ" required ng-minlength="6"…
angularjsasked Claudia Mardegan 357 -
0
votes1
answer191
viewsQ: How do I Redirect on the route if it is the first time it runs?
My structure is like this: var app = angular.module('MainApp',[ 'ngRoute', 'mainAppControllers' ]); app.config(['$routeProvider', function($routeProvider){ $routeProvider. when('/tutorial', {…