Most voted "angular-module" questions
23 questions
Sort by count of
-
6
votes2
answers382
viewsWhich means [] in angular.module
I’m a beginner in Angularjs and started reading about modules in an application. When I want to create a new module, I write the following line of code: var myAppModule = angular.module('myApp',…
-
3
votes2
answers870
viewsHow best to reuse code between modules
I am developing a tool using Angularjs, but I am constantly picking it up, I need to reuse code from different modules and files, but it is not working properly. With pure javascript, it’s easy to…
javascript angularjs oop dependency-injection angular-moduleasked 9 years, 1 month ago Victor Siqueira 638 -
3
votes1
answer858
viewsHow to use Ngmodule modules and decorator?
I have doubts about how to use the decorators of NgModule. What they are and what they’re for? How to create a separate module to load one or more libraries and components? For example, one to load…
-
3
votes1
answer963
viewsUi-Routes get logged in user id
I’m using ANGULARJS/UI-ROUTES, and currently my application after logging only gets the email, I need to also come the ID of the logged-in user. The question of the routes I can, the problem is that…
angularjs angularjs-directives angularjs-scope angular-module ui-routerasked 8 years, 6 months ago Biellx 461 -
3
votes1
answer722
viewsAngular Material Datepicker does not work
I have studied programming Frond-End and I took several tips from friends on Angularjs and refer me some demo sites of Angularjs, at the moment I am trying to implement Datepicker and I am not…
-
2
votes1
answer773
viewsHow to make this directive return in ng-bind the sum of the results?
angular.module( 'isfModFinance', []) .directive( 'isfModFinance', function() { var validElementScope = angular.element('<div>{{ model.input }}</div>'); var validElementTotal =…
javascript angularjs angularjs-directives angular-moduleasked 9 years, 3 months ago Ivan Ferrer 12,096 -
2
votes1
answer6836
viewsI cannot call a function with ng-click
I’m learning Angularjs and I have a problem that I can’t solve. I have a function inside a controller that’s inside a module. This function is responsible for mounting an accordion element with…
-
2
votes1
answer61
viewsMd-slider, how to know when it was finished?
I have this slider: <md-slider step="5" min="15" max="120" ng-model="tempo" aria-label="red" id="red-slider" class=""> </md-slider> I could not find a legal way to know when the user…
-
2
votes1
answer60
viewsBanner Rotary
Hello, use Angularjs and wanted to put it to change the slides from 10 in 10 sec. I’ve tried a few codes and I couldn’t. Anybody got a tip? Here comes my controller. (function () { 'use strict';…
.net angularjs angularjs-directives angularjs-scope angular-moduleasked 8 years, 6 months ago Biellx 461 -
2
votes2
answers444
viewsI cannot import a feature module into the main module. Angular
I have a functionality module called CategoriasModule and when I put the class name in the main module’s Imports this error appears: Uncaught Error: Unexpected value 'Undefined' Imported by the…
-
2
votes1
answer590
viewsAngular 7 Child Routes import Component using modules
I’m trying to set some daughter routes in my angular application 7 but they don’t work, I have the following scenario: I own a base-home.component and a home.component, I encapsulated the two…
-
2
votes0
answers175
viewsSharing Components and Services between Modules
In the development of Angular projects, it is common to share components and services between the various modules that the application may have. When it comes to services, Angular projects tend to…
-
1
votes1
answer917
viewsHow to set an initial date in this countdown done in Angularjs
I created a module in Angular JS that takes the current date of the clock and starts counting to the end, but I need to be able to set an initial date to start counting that is not based on the…
javascript angularjs angularjs-directives jsfiddle angular-moduleasked 9 years, 3 months ago Ivan Ferrer 12,096 -
1
votes3
answers1312
viewsHow to install Angular JS modules?
I am creating an application in spring + angular , and for reasons I am not able to install the angular modules in the project folder by the command Bower install... I can install this module…
-
1
votes1
answer573
viewsModule.ts Ionic 2
I updated Ionic 2 and angular, but now when I run a page it automatically creates a module.ts file inside the page folder along with html, scss and ts file, does anyone know how to make the…
-
0
votes2
answers4914
viewsHow to get value from a form with Angularjs?
I’m starting with Angularjs and a question has arisen that seems to me to be simple. I’m making a shopping cart (just for learning) with the little I’ve learned (ng-controller, ng-repeat, ng-model,…
-
0
votes1
answer572
views$injector:modulerr
I get the following error: angular.js:68 Uncaught Error: [$injector:modulerr] Failed to instantiate module contato due to: Error: [$injector:nomod] Module 'contato' is not available! You either…
-
0
votes1
answer977
viewsCannot find module 'reflect-Metadata'
When will I install angular 2 using: ng new angular-teste I get the error: Cannot find module 'reflect-Metadata' What can it be?…
-
0
votes0
answers71
viewsHow to define a simple checkbox?
staff would like to know how to leave the checkbox of this grid with a standard template. example: http://plnkr.co/edit/Z6JRMoKQoirf23q1JlgR?p=preview <!doctype html> <html ng-app="app">…
-
0
votes1
answer242
viewsCreate a directive
Hello someone could help me, I’m just starting my teachings in angular and would like to know how I would create a directive for the list of categories and tasks. I have no idea what could be done,…
angularjs angularjs-directives angularjs-scope angular-moduleasked 9 years, 1 month ago Larissa Mourullo 417 -
0
votes1
answer680
viewsAccess an attribute from another module
I need to update the values within the message directive through the keep-vendor-form directive, both are within the keep-vendor directive. Is it possible ? If so, how do I do it ?…
-
0
votes2
answers462
viewsHow to implement Angular features?
A little while ago I have studied Angularjs through materials like this; Online Course on YOUTUBE about Angurlajs >>>>> CLICK HERE. So what he teaches shows that we should link the…
-
-1
votes1
answer208
viewsAngular, Appcomponent and Appmodule error, not importing
app.componentts. import { Component } from '@angular/core'; import { AppComponent } from './app.component'; @Component({ selector: 'app-root', templateUrl: 'app.component.html' }) export class…