·
Análise e Desenvolvimento de Sistemas ·
Programação
Envie sua pergunta para a IA e receba a resposta na hora

Prefere sua atividade resolvida por um tutor especialista?
- Receba resolvida até o seu prazo
- Converse com o tutor pelo chat
- Garantia de 7 dias contra erros
Recomendado para você
11
Questionário Unidade 1 2017 2 Linguagem e Técnicas de Programação
Programação
UNIP
6
Linguagem e Técnicas de Programação Questionário Unidade 4
Programação
UNIP
6
Sistemas Operacionais - Atividade Avaliativa 2
Programação
UNINOVE
2
Linguagem e Técnicas de Programação - Pag 1 de 5 2019
Programação
UNIP
7
Linguagem e Técnicas de Programação Questionário Unidade 3
Programação
UNIP
8
Estacio Direito Cibernetico
Programação
UMG
5
Atividade Teleaula 5 2017 2 Linguagem e Técnicas de Programação
Programação
UNIP
5
Av Estácio Prova Online
Programação
UMG
6
Sistemas Operacionais - Atividade Avaliativa 2
Programação
UNINOVE
11
$Gabaritos Oficiais Linguagem de Programação mais de 100 Discursivas Objetivas Prática e Atividades Praticas Juntas para Facilitar na Hora de Resol...
Programação
UMG
Texto de pré-visualização
Community Experience Distilled AngularJS Essentials Design and construct reusable, maintainable, and modular web applications with AngularJS Rodrigo Branas www.it-ebooks.info [PACKT] open source PUBLISHING community experience distilled AngularJS Essentials Design and construct reusable, maintainable, and modular web applications with AngularJS Rodrigo Branas [PACKT] open source PUBLISHING community experience distilled BIRMINGHAM - MUMBAI www.it-ebooks.info AngularJS Essentials Copyright © 2014 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: August 2014 Production reference: 1140814 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK ISBN 978-1-78398-008-6 www.packtpub.com www.it-ebooks.info Credits Author Rodrigo Branas Reviewers Andrei M. Eichler Cleiberson C. C. Faccin Ruoyu Sun Felipe Trevisol Commissioning Editor Pramila Balan Acquisition Editor Harsha Bharwani Content Development Editor Sharvari Tawde Technical Editors Shiny Poojary Kirti Pujari Akash Rajiv Sharma Copy Editors Roshni Banerjee Mrudula Hegde Alfreda Paiva Project Coordinator Aboli Ambardekar Proofreaders Simran Bhogal Maria Gould Ameesha Green Paul Hindle Indexers Mariamwal Chettiyar Rekha Nair Priya Subramani Graphics Ronak Dhruv Disha Haria Production Coordinator Alwin Roy Cover Work Alwin Roy Cover Image Yuvraj Mannan www.it-ebooks.info About the Author Rodrigo Branas is a software architect, author, and international speaker on software development based in Brazil, with more than 12 years of experience in developing enterprise applications. Lately, he has been participating in the development of many successful products based on the AngularJS framework. A major part of these applications were made available to the education industry, and are now used by thousands of users across the country. He is also the founder of Agile Code, a consultancy and training company that works effectively with architects, developers, designers, and testers in order to produce high-quality products. He graduated in Computer Science and has an MBA degree in Project Management. He is certified in SCJA, SCJP, SCD, SCWCD, and SCBCD from Sun Microsystems; PMP from Project Management Institute; MCP from Microsoft; and CSM from Scrum Alliance. In the past few years, he has dedicated himself to spreading knowledge in the software development community. Also, he is the author of Java Magazine, one of the most recognized technical publications in Brazil. His website address is http://www.agilecode.com.br. He can be contacted at rodrigo.branas@gmail.com and you can follow him on Twitter at @rodrigobranas. www.it-ebooks.info Acknowledgments Writing this book was an incredible challenge! Throughout this time, I had the pleasure to count on my lovely wife, Rosana Branas, who provided me with all the inspiration, motivation, and affection that I needed. Also, I am very happy and glad about sharing this experience with my reviewers: Felipe Trevisol, Cleiberson Faccin, Andrei Eichler, and Ruoyu Sun. They provided me with their views, which I feel were quite important, and advice that helped improve the text considerably. I also would like to thank my great friend, Rafael Nami, who introduced me to the AngularJS world, helping me during my first steps with this amazing technology. Special thanks to the outstanding editorial team at Packt Publishing: Ankita Goenka, Aboli Ambardekar, Harsha Bharwani, Sharvari Tawde, Shiny Poojary, Kirti Pujari, and Veena Manjekar. Finally, this book would not be complete without the support of my family! I would especially like to thank my mom and dad, for the continuous love, education, support, and encouragement that they have always provided me! www.it-ebooks.info About the Reviewers Andrei M. Eichler is a young developer with a great passion for learning. His main experiences include working with large Postgres databases and Java, and he is now venturing into Scala, performant JavaScript, and web application development. Cleberson C. C. Faccin is a graduate in Systems Information from Universidade Federal de Santa Catarina, Brazil. Since 2004, he has been working in the field of software development. During these 10 years, he has worked with several technologies, from mainframes to applications of mobile devices. Currently, his focus is on his work in JavaScript, where he is building applications for mobiles with JavaScript. Ruoyu Sun is a designer and developer living in Hong Kong. He is passionate about programming and has contributed to several open source projects. He is the founder of several tech start-ups using a variety of technologies before working in the industry. He is the author of Designing for XOOPS, O’Reilly Media. I would like to thank all my friends and family who have always supported me. Felipe Trevisol is a software architect who loves research, travel, and playing guitar. He has worked with SOA and systems integration. www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers, and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt’s entire library of books. Why subscribe? • Fully searchable across every book published by Packt • Copy and paste, print and bookmark content • On demand and accessible via web browser Free access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. www.it-ebooks.info www.it-ebooks.info Table of Contents Preface 1 Chapter 1: Getting Started with AngularJS 7 Introduction to AngularJS 8 Architectural concepts 9 Setting up the framework 10 Organizing the code 12 Four ways to organize the code 13 The inline style 13 The stereotyped style 13 The specific style 14 The domain style 15 Summary 15 Chapter 2: Creating Reusable Components with Directives 17 What is a directive? 18 Using AngularJS built-in directives 19 The ngApp directive 19 The ngController directive 20 Nested controllers 21 The ngBind directive 21 The ngBindHtml directive 22 The ngRepeat directive 22 The ngModel directive 24 The ngClick directive and other event directives 25 The ngDisable directive 26 The ngClass directive 27 The ngOptions directive 28 The ngStyle directive 30 The ngShow and ngHide directives 30 www.it-ebooks.info
Envie sua pergunta para a IA e receba a resposta na hora
Recomendado para você
11
Questionário Unidade 1 2017 2 Linguagem e Técnicas de Programação
Programação
UNIP
6
Linguagem e Técnicas de Programação Questionário Unidade 4
Programação
UNIP
6
Sistemas Operacionais - Atividade Avaliativa 2
Programação
UNINOVE
2
Linguagem e Técnicas de Programação - Pag 1 de 5 2019
Programação
UNIP
7
Linguagem e Técnicas de Programação Questionário Unidade 3
Programação
UNIP
8
Estacio Direito Cibernetico
Programação
UMG
5
Atividade Teleaula 5 2017 2 Linguagem e Técnicas de Programação
Programação
UNIP
5
Av Estácio Prova Online
Programação
UMG
6
Sistemas Operacionais - Atividade Avaliativa 2
Programação
UNINOVE
11
$Gabaritos Oficiais Linguagem de Programação mais de 100 Discursivas Objetivas Prática e Atividades Praticas Juntas para Facilitar na Hora de Resol...
Programação
UMG
Texto de pré-visualização
Community Experience Distilled AngularJS Essentials Design and construct reusable, maintainable, and modular web applications with AngularJS Rodrigo Branas www.it-ebooks.info [PACKT] open source PUBLISHING community experience distilled AngularJS Essentials Design and construct reusable, maintainable, and modular web applications with AngularJS Rodrigo Branas [PACKT] open source PUBLISHING community experience distilled BIRMINGHAM - MUMBAI www.it-ebooks.info AngularJS Essentials Copyright © 2014 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: August 2014 Production reference: 1140814 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK ISBN 978-1-78398-008-6 www.packtpub.com www.it-ebooks.info Credits Author Rodrigo Branas Reviewers Andrei M. Eichler Cleiberson C. C. Faccin Ruoyu Sun Felipe Trevisol Commissioning Editor Pramila Balan Acquisition Editor Harsha Bharwani Content Development Editor Sharvari Tawde Technical Editors Shiny Poojary Kirti Pujari Akash Rajiv Sharma Copy Editors Roshni Banerjee Mrudula Hegde Alfreda Paiva Project Coordinator Aboli Ambardekar Proofreaders Simran Bhogal Maria Gould Ameesha Green Paul Hindle Indexers Mariamwal Chettiyar Rekha Nair Priya Subramani Graphics Ronak Dhruv Disha Haria Production Coordinator Alwin Roy Cover Work Alwin Roy Cover Image Yuvraj Mannan www.it-ebooks.info About the Author Rodrigo Branas is a software architect, author, and international speaker on software development based in Brazil, with more than 12 years of experience in developing enterprise applications. Lately, he has been participating in the development of many successful products based on the AngularJS framework. A major part of these applications were made available to the education industry, and are now used by thousands of users across the country. He is also the founder of Agile Code, a consultancy and training company that works effectively with architects, developers, designers, and testers in order to produce high-quality products. He graduated in Computer Science and has an MBA degree in Project Management. He is certified in SCJA, SCJP, SCD, SCWCD, and SCBCD from Sun Microsystems; PMP from Project Management Institute; MCP from Microsoft; and CSM from Scrum Alliance. In the past few years, he has dedicated himself to spreading knowledge in the software development community. Also, he is the author of Java Magazine, one of the most recognized technical publications in Brazil. His website address is http://www.agilecode.com.br. He can be contacted at rodrigo.branas@gmail.com and you can follow him on Twitter at @rodrigobranas. www.it-ebooks.info Acknowledgments Writing this book was an incredible challenge! Throughout this time, I had the pleasure to count on my lovely wife, Rosana Branas, who provided me with all the inspiration, motivation, and affection that I needed. Also, I am very happy and glad about sharing this experience with my reviewers: Felipe Trevisol, Cleiberson Faccin, Andrei Eichler, and Ruoyu Sun. They provided me with their views, which I feel were quite important, and advice that helped improve the text considerably. I also would like to thank my great friend, Rafael Nami, who introduced me to the AngularJS world, helping me during my first steps with this amazing technology. Special thanks to the outstanding editorial team at Packt Publishing: Ankita Goenka, Aboli Ambardekar, Harsha Bharwani, Sharvari Tawde, Shiny Poojary, Kirti Pujari, and Veena Manjekar. Finally, this book would not be complete without the support of my family! I would especially like to thank my mom and dad, for the continuous love, education, support, and encouragement that they have always provided me! www.it-ebooks.info About the Reviewers Andrei M. Eichler is a young developer with a great passion for learning. His main experiences include working with large Postgres databases and Java, and he is now venturing into Scala, performant JavaScript, and web application development. Cleberson C. C. Faccin is a graduate in Systems Information from Universidade Federal de Santa Catarina, Brazil. Since 2004, he has been working in the field of software development. During these 10 years, he has worked with several technologies, from mainframes to applications of mobile devices. Currently, his focus is on his work in JavaScript, where he is building applications for mobiles with JavaScript. Ruoyu Sun is a designer and developer living in Hong Kong. He is passionate about programming and has contributed to several open source projects. He is the founder of several tech start-ups using a variety of technologies before working in the industry. He is the author of Designing for XOOPS, O’Reilly Media. I would like to thank all my friends and family who have always supported me. Felipe Trevisol is a software architect who loves research, travel, and playing guitar. He has worked with SOA and systems integration. www.it-ebooks.info www.PacktPub.com Support files, eBooks, discount offers, and more You might want to visit www.PacktPub.com for support files and downloads related to your book. Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details. At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks. Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt’s entire library of books. Why subscribe? • Fully searchable across every book published by Packt • Copy and paste, print and bookmark content • On demand and accessible via web browser Free access for Packt account holders If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access. www.it-ebooks.info www.it-ebooks.info Table of Contents Preface 1 Chapter 1: Getting Started with AngularJS 7 Introduction to AngularJS 8 Architectural concepts 9 Setting up the framework 10 Organizing the code 12 Four ways to organize the code 13 The inline style 13 The stereotyped style 13 The specific style 14 The domain style 15 Summary 15 Chapter 2: Creating Reusable Components with Directives 17 What is a directive? 18 Using AngularJS built-in directives 19 The ngApp directive 19 The ngController directive 20 Nested controllers 21 The ngBind directive 21 The ngBindHtml directive 22 The ngRepeat directive 22 The ngModel directive 24 The ngClick directive and other event directives 25 The ngDisable directive 26 The ngClass directive 27 The ngOptions directive 28 The ngStyle directive 30 The ngShow and ngHide directives 30 www.it-ebooks.info