Git Product home page Git Product logo

angular-template-lab's Introduction

Using a Directive with a template

Objectives

  • Create a template for our Directive

Instructions

To do this lab, you'll need to run npm install in your console. You'll also need to then run node server.js, starting a local webserver. Go to http://localhost:8080 and start coding!

We've already created directives with a template. Let's take our existing directives in this repo and change the templates over to be using templateUrl instead! Create two new template files for the "Success" and "Error" directives and link them up using templateUrl!

angular-template-lab's People

Contributors

ipc103 avatar toddmotto avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-template-lab's Issues

Tests Do Not Work

I FIXED the issue I raised bellow by fully updating my OS.
the problem seemed to be with a security update for OSX.
If others experience this problem I suggest checking for any new software updates and installing them before further troubleshooting.



Hi, This is an issue i continue to have in the angular section.

running the "learn" command in terminal does not run tests correctly.

I had been able to fix this on some of the labs by add this line of code to my conf.js file

capabilities: {
'browserName': 'firefox'
},

but that doesn't seem to be working for this one.

I am not sure what the problem is. I have spent hours with Learn experts trying to fix it and there seems to be no solution. So, I am submitting this repo and continuing on with this section even though I have not been able to "run local tests" ...that being said, I did check my code against the solution and my code is correct. I have also checked it on the node server and it works correctly.

Not sure if anyone else is having this problem with these tests.

Just wanted to let you know.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.