GithubHelp home page GithubHelp logo

kaiocesar / codeigniter-angular Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 3.0 672 KB

Projeto de Codeigniter com Angular.js - Tutorial de Programação

ApacheConf 0.01% PHP 96.34% HTML 0.32% JavaScript 0.18% CSS 3.15%

codeigniter-angular's Introduction

Codeigniter with Angular.js

Author: Kaio Cesar

First step

Clone the project

git clone https://github.com/kaiocesar/codeigniter-angular.git

Second step

Create a database named MODELO_DB and a table named TUSER, see below:

CREATE TABLE `TUSER` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(35) DEFAULT NULL,
  `city` varchar(25) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1

optional

create a Virtual Host and access your site in browser.

it's ready!

codeigniter-angular's People

Contributors

kaiocesar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

codeigniter-angular's Issues

Dynamically add rows to table - fix issue

Hi, if you want to add dynamically the rows to the table, you should give id to the table and then uncomment your line ( $scope.push... )

you can use

var scope = angular.element(document.getElementById("t")).scope();
scope.rows.push({name: $scope.name, city: $scope.city});

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.