GoConqr has a new look! Let us know what you think.

Module 3 of 7 · Text

class 3 - Modulos

FREDYS FERNANDEZ

Módulos

Para agregar un nuevo modulo debemos llamar la librería (angular.module).

El primer parámetro que recibe es el nombre del modulo, el segundo parámetro que recibe son los módulos de los que dependen el módulo que nosotros estamos creando.

ngResource : Con este modulo podremos crear un objeto reffull que se pueda comunicar un API que REST

Por ejemplo

Archivo JS (controller.js)

angular.module("MyFirstApp",[]);
.controller("FirstController", function($scope){
       $scope.nombre = "Fredy Fernandez ";
}).controller("SecondController". function($scope){

  });

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?