René's URL Explorer Experiment


Title: Filtering and Periods in Object Keys · Issue #6005 · angular/angular.js · GitHub

Open Graph Title: Filtering and Periods in Object Keys · Issue #6005 · angular/angular.js

X Title: Filtering and Periods in Object Keys · Issue #6005 · angular/angular.js

Description: Hi folks, I'm putting together a front-end for interacting with an API. The results coming from the API are namespaced based on the database tables behind the API(also being developed). During development we were naming fields like so: "...

Open Graph Description: Hi folks, I'm putting together a front-end for interacting with an API. The results coming from the API are namespaced based on the database tables behind the API(also being developed). During deve...

X Description: Hi folks, I'm putting together a front-end for interacting with an API. The results coming from the API are namespaced based on the database tables behind the API(also being developed). During ...

Opengraph URL: https://github.com/angular/angular.js/issues/6005

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Filtering and Periods in Object Keys","articleBody":"Hi folks,\n\nI'm putting together a front-end for interacting with an API. The results coming from the API are namespaced based on the database tables behind the API(also being developed). During development we were naming fields like so: \"table.field\" to similarly match our database schema. We're doing this to avoid collisions in denormalized data. In using this naming scheme I stumbled upon what I think is a bug with ng-repeat and filtering if an object's keys have periods in them. \n\nHere's a basic, working ng-repeat:\n\n```\n\u003cinput type=\"text\" ng-model=\"abc.label\"\u003e\n\u003cul\u003e\n    \u003cli ng-repeat=\"item in Array | filter: abc)\"\u003e{{item.label}}\u003c/li\u003e\n\u003c/ul\u003e\n```\n\nAnd here's a broken one. Let's say though that the object's key wasn't \"label\", but rather \"meta.label\":\n\n```\n\u003cinput type=\"text\" ng-model=\"abc['meta.label']\"\u003e\n\u003cul\u003e\n    \u003cli ng-repeat=\"item in Array | filter: abc)\"\u003e{{item['meta.label']}}\u003c/li\u003e\n\u003c/ul\u003e\n```\n\nThese two examples have different behavior. It appears that the key that you're filtering on in the objects in the array cannot have a period in it. If it does have a period, the initial set will show, but as soon as the model value changes the set is truncated. Curiously even when the model's \"meta.label\" property is cleared, the set is still truncated.\n\nI put together an interactive example of two ng-repeats, one over an array with objects with periods in its keys, and one over an array of objects without periods in its keys. [You can see it here.](http://plnkr.co/edit/BU5YolgQtNJWmtr1wlPO?p=preview)\n\nFor the time being I'm going to have our API return data namespaced as \"table/field\", which seems to work as expected.\n","author":{"url":"https://github.com/gabrielmiller","@type":"Person","name":"gabrielmiller"},"datePublished":"2014-01-27T21:15:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6005/angular.js/issues/6005"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:76a00eea-d680-e2cf-09ea-26740c8577d3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDE14:3D1150:311A8B:4097A9:6A5B2208
html-safe-nonce97281be04d4856ca8e1f81d6c5509e1a0337bf7ec2659ef457349cf63533528e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTE0OjNEMTE1MDozMTFBOEI6NDA5N0E5OjZBNUIyMjA4IiwidmlzaXRvcl9pZCI6IjM3OTcwMjI0MjYwMDcyODIxODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4289f7c5d3056f7a99ecf8cd6024e8e87e9aa597d5787ca29e7f41f9a1a7ae1d
hovercard-subject-tagissue:26395199
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular.js/6005/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7ed4ba4a488caa89ad1240a8241f320c561d51bb2543a95d069ea123a2ab704c/angular/angular.js/issues/6005
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ed4ba4a488caa89ad1240a8241f320c561d51bb2543a95d069ea123a2ab704c/angular/angular.js/issues/6005
og:image:altHi folks, I'm putting together a front-end for interacting with an API. The results coming from the API are namespaced based on the database tables behind the API(also being developed). During deve...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegabrielmiller
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/angular/angular.js git https://github.com/angular/angular.js.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id460078
octolytics-dimension-repository_nwoangular/angular.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id460078
octolytics-dimension-repository_network_root_nwoangular/angular.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular.js/issues/6005#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular.js%2Fissues%2F6005
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular.js%2Fissues%2F6005
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular.js
Reloadhttps://github.com/angular/angular.js/issues/6005
Reloadhttps://github.com/angular/angular.js/issues/6005
Reloadhttps://github.com/angular/angular.js/issues/6005
Please reload this pagehttps://github.com/angular/angular.js/issues/6005
angular https://github.com/angular
angular.jshttps://github.com/angular/angular.js
Notifications https://github.com/login?return_to=%2Fangular%2Fangular.js
Fork 27.1k https://github.com/login?return_to=%2Fangular%2Fangular.js
Star 58.6k https://github.com/login?return_to=%2Fangular%2Fangular.js
Code https://github.com/angular/angular.js
Issues 389 https://github.com/angular/angular.js/issues
Pull requests 72 https://github.com/angular/angular.js/pulls
Actions https://github.com/angular/angular.js/actions
Projects https://github.com/angular/angular.js/projects
Wiki https://github.com/angular/angular.js/wiki
Security and quality 0 https://github.com/angular/angular.js/security
Insights https://github.com/angular/angular.js/pulse
Code https://github.com/angular/angular.js
Issues https://github.com/angular/angular.js/issues
Pull requests https://github.com/angular/angular.js/pulls
Actions https://github.com/angular/angular.js/actions
Projects https://github.com/angular/angular.js/projects
Wiki https://github.com/angular/angular.js/wiki
Security and quality https://github.com/angular/angular.js/security
Insights https://github.com/angular/angular.js/pulse
Filtering and Periods in Object Keyshttps://github.com/angular/angular.js/issues/6005#top
https://github.com/IgorMinar
1.2.11https://github.com/angular/angular.js/milestone/40
https://github.com/gabrielmiller
gabrielmillerhttps://github.com/gabrielmiller
on Jan 27, 2014https://github.com/angular/angular.js/issues/6005#issue-26395199
You can see it here.http://plnkr.co/edit/BU5YolgQtNJWmtr1wlPO?p=preview
IgorMinarhttps://github.com/IgorMinar
1.2.11https://github.com/angular/angular.js/milestone/40
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.